Learn R Programming

Rnightlights (version 0.2.3)

getCtryRasterOutputFname: Constructs the name of the output raster

Description

Constructs the name of the output raster

Usage

getCtryRasterOutputFname(ctryCode, nlType, nlPeriod,
  gadmVersion = pkgOptions("gadmVersion"), custPolyPath = NULL)

Arguments

ctryCode

the ctryCode of interest

nlType

the nlType of interest

nlPeriod

the nlPeriod of interest

gadmVersion

The GADM version to use

custPolyPath

The path to a custom polygon as an alternative to using GADM polygons

Value

Character the name of country raster for a country and a given nlType and nlPeriod

Examples

Run this code
# NOT RUN {
Rnightlights:::getCtryRasterOutputFname("KEN","VIIRS.M", "201412")

# }

Run the code above in your browser using DataLab