getAllNlPeriods: Generate a list of all possible nlPeriods for a given nlType

Description Usage Arguments Value Examples

View source: R/nlperiod.R

Description

Generate a list of all possible nlPeriods for a given nlType

Usage

1
getAllNlPeriods(nlTypes)

Arguments

nlTypes

types of nightlights to process

Value

a named list of character vector nlPeriods

Examples

1
2
3
4
5
6
7
8
getAllNlPeriods("OLS.Y")
 #returns a vector of all years from 1994 to 2013

getAllNlPeriods("VIIRS.M")
 #returns a vector of all yearMonths from 201401 to present

getAllNlPeriods(c("OLS.Y", "VIIRS.Y"))
 #returns a list with 2 named vectors, one for each annual nlType

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