nlRange: Create a range of nlPeriods

Description Usage Arguments Value Examples

View source: R/nlperiod.R

Description

Create a range of nlPeriods. Returns a list of character vectors of nlPeriods filling in the intermediate nlPeriods. NOTE: Both start and end range must be valid and of the same type.

Usage

1
nlRange(startNlPeriod, endNlPeriod, nlType)

Arguments

startNlPeriod

the nlPeriod start

endNlPeriod

the nlPeriod end

nlType

the nlType

Value

character vector of nlPeriods

Examples

1
2
3
4
5
#get OLS years between 2004 and 2010
nlRange("2004", "2010", "OLS.Y")

#get VIIRS yearMonths between Jan 2014 and Dec 2014
nlRange("201401", "201412", "VIIRS.M")

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