add_former_country_flag | R Documentation |
is_former_country
flag to referendum dataAugments data
with an additional column is_former_country
indicating whether or not the column country_code
holds an ISO 3166-3 alpha-4 code referring to a historical country which ceased to exist. is_former_country
being FALSE
means
country_code
holds an ISO 3166-1 alpha-2 code instead.
add_former_country_flag(data)
data |
RDB referendum data as returned by |
A tibble.
Other referendum data augmentation functions:
add_country_code_continual()
,
add_country_code_long()
,
add_country_name()
,
add_country_name_long()
,
add_period()
,
add_turnout()
,
add_urls()
,
add_world_regions()
rdb::rfrnds() |>
rdb:::add_former_country_flag() |>
dplyr::select(id,
starts_with("country_"),
is_former_country)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.