Description Usage Arguments Value Examples
Add an index column to all layers of a polygon
1 2 | addCtryPolyIdx(ctryCode, gadmVersion = pkgOptions("gadmVersion"),
gadmPolyType = pkgOptions("gadmPolyType"), custPolyPath = NULL)
|
ctryCode |
The ISO3 ctryCode of the country polygon to download |
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 |
None
1 2 3 4 | ## Not run:
Rnightlights:::addCtryPolyIdx(ctryCode="KEN")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.