election_name | R Documentation |
Returns the name of the specified election in the specified language.
election_name(
ballot_date = pal::pkg_config_val("ballot_date"),
lvl = lvls(ballot_date, canton, ballot_type = "election"),
canton = cantons(ballot_date),
prcd = prcds(ballot_date, lvl, canton),
election_nr = 1L,
lang = pal::pkg_config_val("lang"),
type = c("short", "long", "body", "body_alt")
)
ballot_date |
FOKUS-covered ballot date. One of
|
lvl |
Political level. One of |
canton |
FOKUS-covered canton name. One of
|
prcd |
Election procedure. One of |
election_nr |
Election number. A positive integerish scalar. |
lang |
Language. One of |
type |
Name type. One of |
A character scalar.
Other election predicate functions:
combos_elections()
,
election_candidates()
,
election_names_combined()
,
election_parties()
,
election_tickets()
,
n_election_candidates()
,
n_election_seats()
,
past_election_date()
,
requires_candidate_registration()
fokus::election_name(ballot_date = "2019-10-20",
lvl = "cantonal",
canton = "aargau",
prcd = "majoritarian",
election_nr = 1,
type = "body")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.