View source: R/read_secuTrial.R
| read_secuTrial | R Documentation | 
Convenience wrapper for read_secuTrial_raw, label_secuTrial,
factorize_secuTrial and dates_secuTrial.
read_secuTrial(data_dir, labels = TRUE, factor = TRUE, dates = TRUE, ...)
data_dir | 
 string - location of the export  | 
labels | 
 logical - add labels to variables and table  | 
factor | 
 logical - convert categorical variables to factor variables (ignored when reference values are not in a separate table)  | 
dates | 
 logical - convert date variables  | 
... | 
 options passed to   | 
secuTrialdata object - a list with one data.frame for each file on the export
and a list containing the export options
export_location <- system.file("extdata", "sT_exports", "lnames",
                               "s_export_CSV-xls_CTU05_long_ref_miss_en_utf8.zip",
                               package = "secuTrialR")
# read all export data
sT_export <- read_secuTrial(data_dir = export_location)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.