location_code_to_iso3 {csdata}R Documentation

Convert location_code to iso3

Description

Convert location_code to iso3

Usage

location_code_to_iso3(x)

Arguments

x

Either a vector, or a data.frame/data.table containing a column called "location_code".

Value

Character vector the same length as x, containing the corresponding iso3.

Examples

csdata::location_code_to_iso3(c("nation_nor", "county_nor03"))

[Package csdata version 2024.1.17 Index]