View source: R/linelist_example.R
| linelist_example | R Documentation |
show the path to a linelist example file
linelist_example(name = NULL)
name |
the name of a linelist example file |
a path to a linelist example file
Zhian N. Kamvar
linelist_example() # list all of the example files
# read in example spelling dictionary
sd <- linelist_example("spelling-dictionary.csv")
read.csv(sd, stringsAsFactors = FALSE)
# read in example coded data
coded_data <- linelist_example("coded-data.csv")
coded_data <- read.csv(coded_data, stringsAsFactors = FALSE)
str(coded_data)
coded_data$date <- as.Date(coded_data$date)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.