Learn R Programming

Rnightlights (version 0.2.4)

readCtryStruct: Reads the ctry admin structure from struct text file

Description

Reads the ctry admin structure from struct text file

Usage

readCtryStruct(ctryCode = NULL,
  gadmVersion = pkgOptions("gadmVersion"),
  gadmPolyType = pkgOptions("gadmPolyType"), custPolyPath = NULL)

Arguments

ctryCode

The ISO3 ctryCode of the country structure to read

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

None

Examples

Run this code
# NOT RUN {
Rnightlights:::createCtryStruct("KEN")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab