Loads pre-generated .rda files containing the most recent 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 are updated multiple times an hour and contain data for the previous 10 days.
For daily updates covering the most recent 45 days, use airnow_loadDaily().
For data extended more than 45 days into the past, use airnow_loadAnnual().
Pre-processed AirNow exists for the following parameters:
PM2.5
PM2.5_nowcast
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({
airnow_loadLatest() %>%
monitor_filter(stateCode == "WA") %>%
monitor_leaflet()
}, silent = FALSE)
} # }