View source: R/location_code_to.R
location_code_to_granularity_geo | R Documentation |
Convert location_code to granularity_geo
location_code_to_granularity_geo(x, location_reference = NULL)
x |
Either a vector, or a data.frame/data.table containing a column called "location_code". |
location_reference |
A location reference data.table. |
Character vector the same length as x, containing the corresponding granularity_geo.
csdata::location_code_to_granularity_geo(c("nation_nor", "county_nor03"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.