create_survey_definition | R Documentation |
Create and check survey structure and import from template if provided. This function is mainly used internally by [platform_define_survey()]. Unless you want to test definition you should not need this function.
create_survey_definition(
mapping,
labels = NULL,
codes = NULL,
recodes = list(),
template = NULL,
only.errors = TRUE
)
mapping |
list() variable (name) to DB column (value) mapping |
labels |
list() named list of labels |
codes |
list() of codes **deprecated** |
recodes |
list() list of recoding |
template |
character |
only.errors |
if TRUE only check for errors |
list(mapping, labels, recodes, checks)
Other platform:
load_platform()
,
platform_define_survey()
,
platform_import()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.