Description Usage Arguments Value Examples
Download a country's polygon RDS files from http://gadm.org and combine them into one RDS to match other polygon downloads
1 2 3 4 5 6 7 | dnldGADMCtryShpZip(
ctryCode,
gadmVersion = pkgOptions("gadmVersion"),
gadmPolyType = pkgOptions("gadmPolyType"),
downloadMethod = pkgOptions("downloadMethod"),
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 |
downloadMethod |
The method used to download polygons |
custPolyPath |
Alternative to GADM. A path to a custom shapefile zip |
TRUE/FALSE Success/Failure of the download
1 2 3 4 | ## Not run:
Rnightlights:::dnldGADMCtryShpZip("KEN", "3.6", "shpZip")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.