Skip to contents

Returns a structured list of an election's data from the canton's political-level-specific raw supplemental date-specific FOKUS questionnaire data.

Usage

raw_qstnr_suppl_election(
  ballot_date = pal::pkg_config_val("ballot_date"),
  lvl = all_lvls,
  canton = pal::pkg_config_val("canton"),
  prcd = all_prcds,
  election_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"

prcd

Election procedure. One of "proportional" or "majoritarian".

election_nr

Election number. A positive integerish scalar.

Value

A strict list.

Examples

fokus:::raw_qstnr_suppl_election(ballot_date = "2019-10-20",
                                 lvl = "cantonal",
                                 canton = "aargau",
                                 prcd = "majoritarian") |>
  _$n_seats
#> $total
#> [1] 5
#> 
#> $vacant
#> [1] 1
#>