existsPolyFnameRDS: Check if the decompressed country polygon has been stored as...

Description Usage Arguments Value Examples

View source: R/polygons.R

Description

Check if the decompressed country polygon has been stored as RDS

Usage

1
2
3
4
5
6
existsPolyFnameRDS(
  ctryCode = NULL,
  gadmVersion = pkgOptions("gadmVersion"),
  gadmPolyType = pkgOptions("gadmPolyType"),
  custPolyPath = NULL
)

Arguments

ctryCode

The ctryCode to process

gadmVersion

The GADM version to use

gadmPolyType

The format of polygons to download from GADM

custPolyPath

Alternative to GADM. A path to a custom shapefile zip

Value

TRUE/FALSE

Examples

1
2
Rnightlights:::existsPolyFnameRDS("KEN")
 #returns TRUE/FALSE

chrisvwn/Rnightlights documentation built on Sept. 7, 2021, 1:44 a.m.