Loads monitoring data for a given time range. Data from AirNow, AIRSIS and WRCC are combined into a single mts_monitor object.
Archival datasets are combined with 'daily' and 'latest' datasets as needed to satisfy the requested date range.
Desired start datetime (ISO 8601).
Desired end datetime (ISO 8601).
Olson timezone used to interpret dates.
Base URL for monitoring v2 data files.
Local base directory for monitoring v2 data files.
Type of QC to apply to negative values. files are available from both `epa` and `airnow`.
Preferred data source for EPA data when annual data files are available from both `epa_aqs` and `airnow`.
A mts_monitor object with PM2.5 monitoring data. (A list with
meta
and data
dataframes.)
if (FALSE) {
library(AirMonitor)
# Fail gracefully if any resources are not available
try({
wa <-
monitor_load(20210601, 20211001) %>%
monitor_filter(stateCode == "WA")
monitor_timeseriesPlot(wa)
}, silent = FALSE)
}