Extracts response option codes of the specified type(s) from the raw FOKUS questionnaire data.
Details
Note that only codes of recurring response options are returned which are defined under the response_options
top-level key in the file
data-raw/questionnaire/questionnaire.toml
.
See also
Other questionnaire-internal functions:
qstnr_item_val()
,
qstnr_parties()
Examples
fokus:::qstnr_response_option_codes(types = "abstain")
#> [1] 88
fokus:::qstnr_response_option_codes(types = c("dunno",
"custom",
"abstain"))
#> [1] 99 90 88