Description Usage Arguments Details Value See Also Examples
View source: R/closure_defaults.R
Uses a loaded kobo questionnaire and a dataset to determine which records have been skipped for a particular variable.
1 | question_is_skipped(data, question.name)
|
data |
The dataset as a data.frame in standard kobo format, with the column headers matching the question names. |
question.name |
The xml name of a kobo question as a string. (as it appears in the kobo questionnaire and subsequently in the data column headers) |
To use this you must first successfully run load_questionnaire
. If for any reason skiplogic could not be determined, it returns FALSE
for all records (with a warning).
a logical vector with one value per row in data
. TRUE
if a record was skipped, FALSE
otherwise.
load_questionnaire
should be run first.
1 2 | mydata<-lo
question_is_skipped("kobo_xml_question_name",mydata)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.