Learn R Programming

Rnightlights (version 0.2.4)

getCtryShpLowestLyrNames: Get the name of the lowest ctry admin level

Description

Get the name of the lowest ctry admin level

Usage

getCtryShpLowestLyrNames(ctryCodes = NULL,
  gadmVersion = pkgOptions("gadmVersion"),
  gadmPolyType = pkgOptions("gadmPolyType"), custPolyPath = NULL)

Arguments

ctryCodes

character ctryCodes the ctryCodes of interest

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 name of the lowest admin level