PWFSLSmoke (version 1.2.100)

raw_getHighlightDates: Return Day Stamps for Values Above a Threshold

Description

Returna list of dates in YYYYMMDD format where the dataVar is within highlightRange.

Usage

raw_getHighlightDates(df, dataVar, tzone = NULL,
  highlightRange = c(1e+12, Inf))

Arguments

df

dataframe with datetime column in UTC

dataVar

variable to be evaluated

tzone

timezone where data were collected

highlightRange

range of values of to be highlighted

Examples

Run this code
# NOT RUN {
raw <- airsis_createRawDataframe(startdate = 20160901, provider = 'USFS',unitID = '1033')
raw <- raw_enhance(raw)
highlightRange <- c(50,Inf)
dataVar <- 'pm25'
tzone <- "America/Los_Angeles"
highlightDates <- raw_getHighlightDates(raw,dataVar,tzone,highlightRange)
rawPlot_timeOfDaySpaghetti(df=raw,highlightDates = highlightDates)
# }

Run the code above in your browser using DataLab