R/location_code_to.R
location_code_to_iso3.Rd
Convert location_code to iso3
location_code_to_iso3(x)
Either a vector, or a data.frame/data.table containing a column called "location_code".
Character vector the same length as x, containing the corresponding iso3.
csdata::location_code_to_iso3(c("nation_nor", "county_nor03")) #> [1] "nor" "nor"