Join us for
RADAR: AI Edition

Rnightlights (version 0.2.4)

getCtryStructFname: Construct the name for the country struct file

Description

Construct the name for the country struct file

Usage

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

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

# }

Run the code above in your browser using DataLab