existsPolyFnamePath: Check if the decompressed country polygon has been downloaded and stored in the polygon folder
Description
Check if the decompressed country polygon has been downloaded and stored in the polygon folder
Usage
existsPolyFnamePath(ctryCode = NULL,
gadmVersion = pkgOptions("gadmVersion"),
gadmPolyType = pkgOptions("gadmPolyType"), custPolyPath = NULL)
Arguments
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 {
Rnightlights:::existsPolyFnamePath("KEN")
#returns TRUE/FALSE
# }
Run the code above in your browser using DataLab