Description Usage Arguments Value Examples
Check if VIIRS nightlight data for the country exists in the country nightlight data file. First checks if the country nightlight data file exists.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | existsCtryNlData(
ctryCode = NULL,
admLevel,
nlTypes,
configNames,
extensions,
multiTileStrategy = pkgOptions("multiTileStrategy"),
multiTileMergeFun = pkgOptions("multiTileMergeFun"),
removeGasFlaresMethod = pkgOptions(paste0("removeGasFlaresMethod_", nlTypes)),
nlPeriods,
nlStats,
gadmVersion = pkgOptions("gadmVersion"),
gadmPolyType = pkgOptions("gadmPolyType"),
custPolyPath = NULL
)
|
ctryCode |
character The ISO3 code of the country |
admLevel |
character string The country admin level of interest |
nlTypes |
character The nlTypes |
configNames |
character the config shortnames of the rasters to process |
extensions |
character the extensions of the rasters to process |
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 |
character The nlPeriods |
nlStats |
character The nlStats to check for |
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 |
TRUE/FALSE
1 2 | Rnightlights:::existsCtryNlData(ctryCode = "KEN", admLevel = "KEN_adm0",
nlTypes = "VIIRS.M", configNames = "stable_lights", nlPeriods = "201401", nlStats = "sum")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.