Get a single skill question's raw supplemental questionnaire data
Source:R/fokus.gen.R
raw_qstnr_suppl_skill_question.Rd
Returns a structured list of a single skill question's data from the raw supplemental date-specific FOKUS questionnaire data.
Usage
raw_qstnr_suppl_skill_question(
ballot_date = pal::pkg_config_val("ballot_date"),
lvl = all_lvls,
canton = pal::pkg_config_val("canton"),
proposal_nr = NULL,
skill_question_nr = 1L
)
Arguments
- 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"
- lvl
Political level. One of
"cantonal"
or"federal"
.- canton
FOKUS-covered canton name. One of
"aargau"
- proposal_nr
Proposal number. A positive integerish scalar or
NULL
. IfNULL
, it is considered to be a non-proposal-specific skill question (the case at elections).- skill_question_nr
Skill question number. A positive integerish scalar.
Value
A strict list.
See also
Other raw questionnaire data functions:
raw_pick_right()
,
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_questions()
,
raw_qstnrs_suppl
Examples
fokus:::raw_qstnr_suppl_skill_question(ballot_date = "2018-09-23",
lvl = "cantonal",
canton = "aargau",
proposal_nr = 1,
skill_question_nr = 1)
#> $de
#> [1] "Die Zahl der Aargauer:innen, die Vermögenssteuer zahlen müssen (d. h. ein Vermögen besitzen, das über dem Freibetrag liegt), würde sich durch die Initiative …"
#>
#> $en
#> [1] "With the initiative, the number of people in Aargau who have to pay wealth tax (i.e. own more than the tax-free amount) would be …"
#>
#> $response_option
#> $response_option[[1]]
#> $response_option[[1]]$de
#> [1] "verdoppeln"
#>
#> $response_option[[1]]$en
#> [1] "twice the size"
#>
#> $response_option[[1]]$is_correct
#> [1] FALSE
#>
#>
#> $response_option[[2]]
#> $response_option[[2]]$de
#> [1] "nicht verändern"
#>
#> $response_option[[2]]$en
#> [1] "the same"
#>
#> $response_option[[2]]$is_correct
#> [1] TRUE
#>
#>
#> $response_option[[3]]
#> $response_option[[3]]$de
#> [1] "halbieren"
#>
#> $response_option[[3]]$en
#> [1] "half the size"
#>
#> $response_option[[3]]$is_correct
#> [1] FALSE
#>
#>
#>