Construct the name for the country struct file
getCtryStructFname(ctryCode = NULL,
gadmVersion = pkgOptions("gadmVersion"),
gadmPolyType = pkgOptions("gadmPolyType"), custPolyPath = NULL)
The ISO3 ctryCode 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 string The filename
# NOT RUN {
Rnightlights:::getCtryStructFname("KEN")
# }
Run the code above in your browser using DataLab