Description Usage Arguments Examples
View source: R/raw_getHighlightDates.R
Returna list of dates in YYYYMMDD format where
the dataVar is within highlightRange
.
1 2 3 4 5 6 | raw_getHighlightDates(
df,
dataVar,
tzone = NULL,
highlightRange = c(1e+12, Inf)
)
|
df |
dataframe with |
dataVar |
variable to be evaluated |
tzone |
timezone where data were collected |
highlightRange |
range of values of to be highlighted |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
# Fail gracefully if any resources are not available
try({
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)
}, silent = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.