getCtryShpAllAdmLvls: Get all the admLevels in a country

Description Usage Arguments Value Examples

View source: R/polygons.R

Description

Get all the admLevels in a country

Usage

1
2
3
getCtryShpAllAdmLvls(ctryCodes = NULL,
  gadmVersion = pkgOptions("gadmVersion"),
  gadmPolyType = pkgOptions("gadmPolyType"), custPolyPath = NULL)

Arguments

ctryCodes

character The ctryCode of the country 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

logical whether inputted admLevels are valid

Examples

1
2
3
4
5
## Not run: 
getCtryShpAllAdmLvls("KEN")
#returns "KEN_adm1"

## End(Not run)

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