existsPolyFnameZip: Check if the compressed country polygon has been downloaded...

Description Usage Arguments Value Examples

View source: R/polygons.R

Description

Check if the compressed country polygon has been downloaded and stored in the polygon folder

Usage

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

Arguments

ctryCode

The ctryCode 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

Value

TRUE/FALSE

Examples

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

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