existsCtryPoly: Checks if a country polygon exists
Description
Checks if a country polygon exists
Usage
existsCtryPoly(ctryCode = NULL,
gadmVersion = pkgOptions("gadmVersion"),
gadmPolyType = pkgOptions("gadmPolyType"), custPolyPath = NULL)
Arguments
ctryCode
character
The ctryCode of the country of interest
gadmPolyType
The format of polygons to download from GADM
custPolyPath
Alternative to GADM. A path to a custom shapefile zip
Examples
Run this code# NOT RUN {
existCtryPoly("KEN")
#returns TRUE/FALSE
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab