R/1_environments.r
set_global.RdThis function sets global parameters that control how location codes are formatted throughout the package.
set_global(
location_code_to_factor_label = "location_name",
location_code_to_factor_label_if_not_unique = "location_name_description_nb"
)NULL (invisibly) - function called for side effects
Other csstyle_utilities:
colors,
display_all_palettes(),
every_nth()
# Set global location formatting preferences
set_global(
location_code_to_factor_label = "custom_name",
location_code_to_factor_label_if_not_unique = "custom_description"
)
# Reset to defaults
set_global()