Learn R Programming

Rnightlights (version 0.2.3)

getCtryStructFnamePath: Construct the full path to the country struct file

Description

Construct the full path to the country struct file

Usage

getCtryStructFnamePath(ctryCode = NULL,
  gadmVersion = pkgOptions("gadmVersion"), custPolyPath = NULL)

Arguments

ctryCode

The ISO3 ctryCode of the country

gadmVersion

The GADM version to use

custPolyPath

Alternative to GADM. A path to a custom shapefile zip

Value

character string The file path

Examples

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

# }

Run the code above in your browser using DataLab