getCtryStructFname: Construct the name for the country struct file

Description Usage Arguments Value Examples

View source: R/polygons.R

Description

Construct the name for the country struct file

Usage

1
2
3
getCtryStructFname(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 download from GADM

custPolyPath

Alternative to GADM. A path to a custom shapefile zip

Value

character string The filename

Examples

1
Rnightlights:::getCtryStructFname("KEN")

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