Skip to contents

Returns a structured list of a proposal's data from the supplemental date-specific FOKUS questionnaire data, or NULL if no referendums proposals were covered.

Usage

raw_qstnr_suppl_proposal_safe(
  ballot_date = pal::pkg_config_val("ballot_date"),
  lvl = all_lvls,
  canton = pal::pkg_config_val("canton"),
  proposal_nr = NULL
)

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. Either a positive integerish scalar or NULL to return the data for all proposals.

Value

A strict list, or NULL if no referendums proposals were covered.

Examples

fokus:::raw_qstnr_suppl_proposal_safe(ballot_date = "2019-10-20",
                                      lvl = "cantonal",
                                      canton = "aargau")
#> NULL