powered by
Returns the directory name of the unzipped shapefile downloaded from http://gadm.org without the path
getPolyFname(ctryCode = NULL, gadmVersion = pkgOptions("gadmVersion"), custPolyPath = NULL)
character the ISO3 code of the country
The GADM version to use
Alternative to GADM. A path to a custom shapefile zip
character name of shapefile directory
# NOT RUN { Rnightlights:::getPolyFname("KEN") #returns "KEN_adm_shp" # }
Run the code above in your browser using DataLab