dnldGADMCtrySpRds: Download a country's polygon RDS files from http://gadm.org
Description
Download a country's polygon RDS files from http://gadm.org and
combine them into one RDS to match other polygon downloads
Usage
dnldGADMCtrySpRds(ctryCode, gadmVersion = pkgOptions("gadmVersion"),
gadmPolyType = pkgOptions("gadmPolyType"),
downloadMethod = pkgOptions("downloadMethod"))
Arguments
ctryCode
The ISO3 ctryCode of the country polygon to download
gadmPolyType
The format of polygons to download from GADM
downloadMethod
The method used to download polygons
Value
TRUE/FALSE Success/Failure of the download
Examples
Run this code# NOT RUN {
Rnightlights:::dnldCtryPoly("KEN")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab