Add new country in the inst/extdata/db/ folder
add_iso(x, iso, ds, level, map = c("id"), append = TRUE)
x |
|
---|---|
iso | ISO code (3 letters). |
ds | name of the data source function generating |
level | integer. Granularity level. 1: country-level data. 2: state-level data. 3: city-level data. |
map | named vector mapping the columns of |
append | logical. Append the data to the XXX.csv file if it already exists? Default |
data.frame