allExistsCtryNlData: Checks if all data is available

Description Usage Arguments Value

View source: R/ctrynldata.R

Description

Checks if all data is available

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
allExistsCtryNlData(
  ctryCodes,
  admLevels,
  nlTypes,
  configNames,
  extensions,
  multiTileStrategy = pkgOptions("multiTileStrategy"),
  multiTileMergeFun = pkgOptions("multiTileMergeFun"),
  removeGasFlaresMethod = pkgOptions(paste0("removeGasFlaresMethod_", nlTypes)),
  nlPeriods,
  nlStats,
  gadmVersion = pkgOptions("gadmVersion"),
  gadmPolyType = pkgOptions("gadmPolyType"),
  custPolyPath = NULL
)

Arguments

ctryCodes

character vector of ctryCodes to filter by

admLevels

A character vector of admLevels to filter by

nlTypes

A character vector of nlTypes to filter by

configNames

character the config short name of raster being processed

extensions

character the extension of raster being processed

multiTileStrategy

character How to handle multiple tiles per nlPeriod

multiTileMergeFun

character The function to use to merge tiles

removeGasFlaresMethod

logical Whether to perform gas flare removal pre-processing

nlPeriods

A character vector of nlPeriods to filter by

nlStats

The stats to filter by

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

TRUE/FALSE


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