deleteCtryPoly: Download a country's polygon shapefile from http://gadm.org
Usage
deleteCtryPoly(ctryCode = NULL,
gadmVersion = pkgOptions("gadmVersion"),
gadmPolyType = pkgOptions("gadmPolyType"), custPolyPath = NULL,
downloadMethod = pkgOptions("downloadMethod"))
Arguments
ctryCode
The ISO3 ctryCode of the country polygon to download
gadmPolyType
The format of polygons to download from GADM
custPolyPath
Alternative to GADM. A path to a custom shapefile zip
downloadMethod
The method used to download polygons
Value
TRUE/FALSE Success/Failure of the download
Examples
Run this code# NOT RUN {
Rnightlights:::deleteCtryPoly("KEN")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab