election_names_combined | R Documentation |
Returns the combined name of all elections at the specified date on the specified level(s) for the specified canton in the specified language.
election_names_combined(
ballot_date = pal::pkg_config_val("ballot_date"),
lvls = all_lvls,
canton = cantons(ballot_date),
lang = pal::pkg_config_val("lang"),
federal_first = TRUE
)
ballot_date |
FOKUS-covered ballot date. One of
|
lvls |
Political level(s). One or more of |
canton |
FOKUS-covered canton name. One of
|
lang |
Language. One of |
federal_first |
Whether or not to list federal elections before cantonal ones. Only has an effect if |
A character scalar, empty if no elections were held.
Other election predicate functions:
combos_elections()
,
election_candidates()
,
election_name()
,
election_parties()
,
election_tickets()
,
n_election_candidates()
,
n_election_seats()
,
past_election_date()
,
requires_candidate_registration()
fokus::election_names_combined(ballot_date = "2019-10-20",
lvls = "federal",
canton = "aargau")
fokus::election_names_combined(ballot_date = "2019-10-20",
canton = "aargau")
fokus::election_names_combined(ballot_date = "2019-10-20",
canton = "aargau",
federal_first = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.