loadLatest | R Documentation |
Wrapper function to load and combine the most recent data from AirNow, AIRSIS and WRCC:
airnow <- airnow_loadLatest() airsis <- airsis_loadLatest() wrcc <- wrcc_loadLatest() ws_monitor <- monitor_combine(list(airnow, airsis, wrcc))
Avaialble RData and associated log files can be seen at: https://haze.airfire.org/monitoring/latest/RData/
loadLatest()
A ws_monitor object with PM2.5 monitoring data.
airsis_loadDaily
## Not run:
# Fail gracefully if any resources are not available
try({
ca <- loadLatest() %>% monitor_subset(stateCodes='CA')
}, silent = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.