Skip to contents

Updates border_nor in the config environment. Call this at the start of a script to change the default border argument of nor_locations_names(), nor_locations_redistricting(), nor_locations_hierarchy_from_to(), nor_population_by_age_cats() and nor_population_by_sex_age_cats().

Usage

set_config(border_nor = NULL)

Arguments

border_nor

Integer. The Norwegian geographic border year to use as the default. Valid values: 2024. Pass NULL to leave unchanged.

Value

Invisibly, the value assigned to config$border_nor, or NULL when border_nor is NULL. The function exists for its side effect on config.

See also

No vignette covers this function.

Examples

old <- csdata::config$border_nor
csdata::set_config(border_nor = 2024)
csdata::config$border_nor  # 2024
#> [1] 2024
csdata::set_config(border_nor = old)  # restore