Description Usage Arguments Examples
Delete an aggregate nightlight data column in a country nightlights dataframe. The number of elements in the vector MUST match the number of rows in the country dataframe.
1 2 3 4 5 6 7 | deleteNlDataCol(ctryCode = NULL, admLevel, nlType,
configName = pkgOptions(paste0("configName_", nlType)),
multiTileStrategy = pkgOptions("multiTileStrategy"),
multiTileMergeFun = pkgOptions("multiTileMergeFun"),
removeGasFlares = pkgOptions("removeGasFlares"), nlPeriod, nlStat,
gadmVersion = pkgOptions("gadmVersion"),
gadmPolyType = pkgOptions("gadmPolyType"), custPolyPath = NULL)
|
ctryCode |
country with the data column to remove |
admLevel |
admLevel to process |
nlType |
the type of nightlight data |
configName |
character the type of raster being processed |
multiTileStrategy |
character How to handle multiple tiles per nlPeriod |
multiTileMergeFun |
character The function to use to merge tiles |
removeGasFlares |
logical Whether to perform gas flare removal pre-processing |
nlPeriod |
the nlPeriod that the dataCol belongs to |
nlStat |
the stat which produced the dataCol vector |
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 |
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
ctryNlDataDF <- Rnightlights:::deleteNlDataCol(ctryNlDataDF,
"VIIRS.M", "201409", "sum")
## End(Not run)
## Not run:
Rnightlights:::deleteNlDataCol(ctryNlDataDF,
"OLS.Y", "2012", "mean")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.