Description Usage Arguments Details See Also Examples
View source: R/construct_validation.R
Helper function to enable "force a response" or "request a response" for survey questions.
1 | construct_validation(type = "force")
|
type |
"force", "request", or "no" (default: "force") |
This function is typically used in combination with update_question
. See example.
1 2 3 4 5 6 7 8 9 10 | data(svy_qsf)
# Enable 'Request Response' validation
# for the question on respondents' sex
# and country of birth
qsf_mod <- update_question(svy_qsf,
id_name='SecondaryAttribute',
id=c('sex', 'born'),
Validation=construct_validation(type='request'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.