hasNlCtryGasFlares: Checks if a country has gasflares

Description Usage Arguments Value Examples

View source: R/gasflares.R

Description

Checks if a country has gasflares

Usage

1
2
3
4
5
6
hasNlCtryGasFlares(
  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

logical whether the country has gasflares

Examples

1
2
3
4
5
## Not run: 
  hasNlCtryGasFlares(ctryCode="NGA")
  #returns TRUE

## End(Not run)

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