Referential | R Documentation |
Referential class is a class to load, check and manipulate the XLSForm
Referential class is a class to load, check and manipulate the XLSForm
data
named list for the referential file
by_groups
survey modules separated by begin and end to manipulate data
path
path for the xlsx file
new()
read the xlsx for each sheet and return a named list
Referential$new(path)
path
path to the file with the full referential
named list
ref <- Referential$new( path = system.file("SurveyDesigner_Referential.xlsx", package = "surveyDesigner") ) head(ref$data$survey) # Example by groups ref$by_groups$group_intro
get_groups()
get data by groups of begin and end
Referential$get_groups()
clone()
The objects of this class are cloneable with this method.
Referential$clone(deep = FALSE)
deep
Whether to make a deep clone.
## ------------------------------------------------
## Method `Referential$new`
## ------------------------------------------------
ref <- Referential$new(
path = system.file("SurveyDesigner_Referential.xlsx", package = "surveyDesigner")
)
head(ref$data$survey)
# Example by groups
ref$by_groups$group_intro
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.