Loads pre-generated .rda files containing hourly AirNow data.
If archiveDataDir is defined, data will be loaded from this local
archive. Otherwise, data will be loaded from the monitoring data repository
maintained by the USFS AirFire team.
The files loaded by this function contain a single year's worth of data
For the most recent data in the last 10 days, use airnow_loadLatest().
For daily updates covering the most recent 45 days, use airnow_loadDaily().
For archival data for a specific month, use airnow_loadMonthly().
Pre-processed AirNow exists for the following parameters:
PM2.5
A mts_monitor object with AirNow data. (A list with
meta and data dataframes.)
if (FALSE) { # \dontrun{
library(AirMonitor)
# Fail gracefully if any resources are not available
try({
# See https://en.wikipedia.org/wiki/2017_Montana_wildfires
# Daily Barplot of Montana wildfires
airnow_loadAnnual(2017) %>%
monitor_filter(stateCode == "MT") %>%
monitor_filterDate(20170701, 20170930, timezone = "America/Denver") %>%
monitor_dailyStatistic() %>%
monitor_timeseriesPlot(
ylim = c(0, 300),
xpd = NA,
addAQI = TRUE,
main = "Montana 2017 -- AirNow Daily Average PM2.5"
)
}, silent = FALSE)
} # }