Picks the right value of a certain raw questionnaire key based on ballot date and canton (recursively).
Arguments
- x
Questionnaire key. A list object.
- key
Questionnaire key name, used to determine the correct default value fallback. A character scalar or
NULL
. IfNULL
, no fallback is used (and an error is thrown in case none of the subkeys matches).- ballot_date
FOKUS-covered ballot date. One of
"2018-09-23"
"2018-11-25"
"2019-10-20"
"2020-09-27"
"2020-10-18"
"2021-11-28"
"2023-06-18"
"2024-10-20"
- canton
FOKUS-covered canton name. One of
"aargau"
See also
Other raw questionnaire data functions:
raw_qstnr
,
raw_qstnr_suppl()
,
raw_qstnr_suppl_argument()
,
raw_qstnr_suppl_arguments()
,
raw_qstnr_suppl_election()
,
raw_qstnr_suppl_election_name()
,
raw_qstnr_suppl_elections()
,
raw_qstnr_suppl_lvl()
,
raw_qstnr_suppl_lvl_canton()
,
raw_qstnr_suppl_main_motives()
,
raw_qstnr_suppl_mode()
,
raw_qstnr_suppl_proposal()
,
raw_qstnr_suppl_proposal_name()
,
raw_qstnr_suppl_proposal_safe()
,
raw_qstnr_suppl_skill_question()
,
raw_qstnr_suppl_skill_questions()
,
raw_qstnrs_suppl