existsCtryPoly: Checks if a country polygon exists

Description Usage Arguments Examples

View source: R/polygons.R

Description

Checks if a country polygon exists

Usage

1
2
3
existsCtryPoly(ctryCode = NULL,
  gadmVersion = pkgOptions("gadmVersion"),
  gadmPolyType = pkgOptions("gadmPolyType"), custPolyPath = NULL)

Arguments

ctryCode

character The ctryCode of the country of interest

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

Examples

1
2
3
4
5
## Not run: 
existCtryPoly("KEN")
#returns TRUE/FALSE

## End(Not run)

Rnightlights documentation built on Aug. 29, 2019, 5:02 p.m.