existsPolyFnameRDS: Check if the decompressed country polygon has been stored as RDS
Description
Check if the decompressed country polygon has been stored as RDS
Usage
existsPolyFnameRDS(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:::existsPolyFnameRDS("KEN")
#returns TRUE/FALSE
# }
Run the code above in your browser using DataLab