getNlCtryGasFlaresPoly: Returns a country's gasflares polygon if it exists

Description Usage Arguments Value Examples

View source: R/gasflares.R

Description

Returns a country's gasflares polygon if it exists

Usage

1
2
3
4
5
6
getNlCtryGasFlaresPoly(
  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: 
  getNlCtryGasFlaresPoly(ctryCode="NGA")
  #returns gasflare polygon

## End(Not run)

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