createCtryStruct: Save ctry admin structure to text file for faster access

Description Usage Arguments Value Examples

View source: R/polygons.R

Description

Save ctry admin structure to text file for faster access

Usage

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

Arguments

ctryCode

The ISO3 ctryCode of the country

gadmVersion

The GADM version to use

gadmPolyType

The format of polygons to use from GADM

custPolyPath

Alternative to GADM. A path to a custom shapefile zip

Value

None

Examples

1
2
3
4
## Not run: 
  Rnightlights:::createCtryStruct("KEN")

## End(Not run)

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