powered by
Get all the admLevels in a country
getCtryShpAllAdmLvls(ctryCodes = NULL, gadmVersion = pkgOptions("gadmVersion"), custPolyPath = NULL)
character The ctryCode of the country of interest
character
The GADM version to use
Alternative to GADM. A path to a custom shapefile zip
logical whether inputted admLevels are valid
logical
# NOT RUN { getCtryShpAllAdmLvls("KEN") #returns "KEN_adm1" # } # NOT RUN { # }
Run the code above in your browser using DataLab