Learn R Programming

Rnightlights (version 0.2.3)

existsCtryPoly: Checks if a country polygon exists

Description

Checks if a country polygon exists

Usage

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

Arguments

ctryCode

character The ctryCode of the country of interest

gadmVersion

The GADM version to use

custPolyPath

Alternative to GADM. A path to a custom shapefile zip

Examples

Run this code
# NOT RUN {
existCtryPoly("KEN")
#returns TRUE/FALSE
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab