powered by
Get the filename of the polygon zip file as downloaded from http://GADM.ORG
getPolyFnameZip(ctryCode = NULL, gadmVersion = pkgOptions("gadmVersion"), gadmPolyType = pkgOptions("gadmPolyType"), custPolyPath = NULL)
character the ISO3 code of the country
The GADM version to use
The format of polygons to download from GADM
Alternative to GADM. A path to a custom shapefile zip
character path to zip
# NOT RUN { Rnightlights:::getPolyFnameZip("KEN") #returns "path/to/" # }
Run the code above in your browser using DataLab