getNlCtryGasFlaresRds: Creates and returns a country's gasflares polygon

Description Usage Arguments Value Examples

View source: R/gasflares.R

Description

Creates and returns a country's gasflares polygon

Usage

1
2
3
4
5
6
getNlCtryGasFlaresRds(
  ctryCode = ctryCode,
  gadmVersion = pkgOptions("gadmVersion"),
  gadmPolyType = pkgOptions("gadmPolyType"),
  custPolyPath = NULL
)

Arguments

ctryCode

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

spPolygons the country gasflare polygon

Examples

1
2
3
4
5
## Not run: 
  getNlCtryGasFlaresRds(ctryCode="NGA")
  #returns gasflare polygon

## End(Not run)

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