getCtryStructFnamePath: Construct the full path to the country struct file

Description Usage Arguments Value Examples

View source: R/polygons.R

Description

Construct the full path to the country struct file

Usage

1
2
3
4
5
6
getCtryStructFnamePath(
  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 file path

Examples

1
Rnightlights:::getCtryStructFnamePath("KEN")

chrisvwn/Rnightlights documentation built on Sept. 7, 2021, 1:44 a.m.