Loads pre-generated .rda files containing the most recent Clarity 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 data extended more than 10 days into the past, use clarity_loadAnnual().
A mts_monitor object with Clarity data. (A list with
meta and data dataframes.)
The QC_calibration argument specifies the calibration/correction
algorithm used by Clarity for PM2.5 measurements.
See Clarity v2 clibration model
It is recommended that users stick with the default calibration:
"global PM2.5 v2.1". Specifying "all" will retrieve measurements
harvested before the introduction of "global PM2.5 v2.1" and are not
directly comparable with more recent measurements.
Data archives accessed by this function are not maintained by Clarity and are provided with no guarantee of completeness or future maintenance. They may be removed at any time with no warning.
if (FALSE) { # \dontrun{
library(AirMonitor)
# Fail gracefully if any resources are not available
try({
clarity_loadLatest() %>%
monitor_leaflet()
}, silent = FALSE)
} # }