Loads pre-generated .RData files containing the most recent AIRSIS data.
If dataDir
is defined, data will be loaded from this local
dirctory. Otherwise, data will be loaded from the monitoring data repository
maintained by PWFSL.
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 airsis_loadDaily()
.
For data extended more than 45 days into the past, use airsis_loadAnnual()
.
AIRSIS parameters include the following:
PM2.5
Avaialble RData and associated log files can be seen at: https://haze.airfire.org/monitoring/AIRSIS/RData/latest/
airsis_loadLatest( parameter = "PM2.5", baseUrl = "https://haze.airfire.org/monitoring/latest/RData", dataDir = NULL )
parameter | Parameter of interest. |
---|---|
baseUrl | Base URL for 'daily' AirNow data files. |
dataDir | Local directory containing 'daily' data files. |
A ws_monitor object with AIRSIS data.
if (FALSE) { # Fail gracefully if any resources are not available try({ airsis_loadLatest() %>% monitor_subset(stateCodes=CONUS) %>% monitor_map() }, silent = FALSE) }