Description Usage Arguments Value Examples
Returns the directory name of the unzipped shapefile downloaded from http://gadm.org without the path
1 2 | getPolyFname(ctryCode = NULL, gadmVersion = pkgOptions("gadmVersion"),
gadmPolyType = pkgOptions("gadmPolyType"), custPolyPath = NULL)
|
ctryCode |
character the ISO3 code of the country |
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 name of shapefile directory
1 2 | Rnightlights:::getPolyFname("KEN")
#returns "KEN_adm_shp"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.