Skip to contents

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

Usage

raw_qstnr_suppl_election_name(
  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_name(ballot_date = "2019-10-20",
                                      lvl = "cantonal",
                                      canton = "aargau",
                                      prcd = "majoritarian")
#> $de
#> $de$body
#> $de$body$text
#> [1] "Regierungsrat"
#> 
#> 
#> $de$long
#> $de$long$text
#> [1] "Ersatzwahl eines Mitglieds des Regierungsrats"
#> 
#> 
#> $de$short
#> $de$short$text
#> [1] "Regierungsratsersatzwahl"
#> 
#> 
#>