skill_question_answer_nr | R Documentation |
Returns the sequential number of the correct answer for the specified skill question.
skill_question_answer_nr(
ballot_date = pal::pkg_config_val("ballot_date"),
lvl = lvls(ballot_date, canton),
canton = cantons(ballot_date),
proposal_nr = NULL,
skill_question_nr = 1L
)
ballot_date |
FOKUS-covered ballot date. One of
|
lvl |
Political level. One of |
canton |
FOKUS-covered canton name. One of
Only relevant if |
proposal_nr |
Proposal number. A positive integerish scalar or |
skill_question_nr |
Skill question number. A positive integerish scalar. |
An integer scalar.
Other skill question predicate functions:
n_skill_questions()
,
skill_question()
,
skill_question_nrs()
,
skill_question_proposal_nrs()
,
skill_question_response_options()
fokus::skill_question_answer_nr(ballot_date = "2018-09-23",
lvl = "cantonal",
canton = "aargau",
proposal_nr = 1,
skill_question_nr = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.