Learn R Programming

Rnightlights (version 0.2.4)

getCtryNlDataColName: Construct the name of a nightlight data column given the nightlight type and nlPeriod

Description

Construct the name of a nightlight data column given the nightlight type and nlPeriod Used in creating and retrieving data columns from the nightlight data file

Usage

getCtryNlDataColName(nlPeriod, nlStat, nlType, configName,
  multiTileStrategy = "all", multiTileMergeFun = "mean",
  removeGasFlares = TRUE)

Arguments

nlPeriod

character vector The nlPeriod to process

nlStat

character vector The stat to be stored in the column

nlType

character vector The type of nightlight

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

Value

character string

Examples

Run this code
# NOT RUN {
Rnightlights:::getCtryNlDataColName("201612", "sum", nlType="VIIRS.M")
  
# }

Run the code above in your browser using DataLab