Description Usage Arguments Value Examples
Read Survey Files
Import surveys into a list. Adds filename as a constant to each element of the list.
1 | read_surveys(import_file_names, .f = "read_rds", save_to_rds = TRUE)
|
import_file_names |
A vector of file names to import. |
.f |
A function to import the surveys with.
Defaults to |
save_to_rds |
Should it save the imported survey to .rds?
Defaults to |
A list of the surveys. Each element of the list is a data
frame. The respective file names are added to each data frame as a
constant column filename
.
1 2 3 4 5 6 | file1 <- system.file(
"examples", "ZA7576.rds", package = "eurobarometer")
file2 <- system.file(
"examples", "ZA5913.rds", package = "eurobarometer")
read_surveys (c(file1,file2), .f = 'read_rds' )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.