add_iso3_to_data_set {csdata} | R Documentation |
Adds iso3 to a given data set
Description
Adds iso3 to a given data set
Usage
add_iso3_to_data_set(x)
Arguments
x |
A data.table containing a column called "location_code". |
Value
A data.table containing an extra column called "iso3".
Examples
library(data.table)
data <- data.table(location_code = c("norge", "county03", "blah"))
csdata::add_iso3_to_data_set(data)
print(data)
[Package csdata version 2024.4.26 Index]