Description Usage Arguments Value Examples
Construct the full path to save the file containing the country data. Note it does not indicate if the file exists
1 2 3 4 5 6 7 | getCtryNlDataFnamePath(
ctryCode = NULL,
admLevel,
gadmVersion = pkgOptions("gadmVersion"),
gadmPolyType = pkgOptions("gadmPolyType"),
custPolyPath = NULL
)
|
ctryCode |
|
admLevel |
|
gadmVersion |
The GADM version to use |
gadmPolyType |
The format of polygons to download from GADM |
custPolyPath |
Alternative to GADM. A path to a custom shapefile zip |
Character string the full path to the data file of a country admin level
1 2 | #get the full path to the file containing data for KEN counties
Rnightlights:::getCtryNlDataFnamePath("KEN", "KEN_adm0")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.