R/location_code_to.R
location_code_to_granularity_geo.RdConvert location_code to granularity_geo
location_code_to_granularity_geo(x, location_reference = NULL)Character vector the same length as x, containing the corresponding granularity_geo.
csdata::location_code_to_granularity_geo(c("nation_nor", "county_nor03"))
#> [1] "nation" "county"