loadDaily | R Documentation |
Wrapper function to load and combine recent data from AirNow, AIRSIS and WRCC:
airnow <- airnow_loadDaily() airsis <- airsis_loadDaily() wrcc <- wrcc_loadDaily() ws_monitor <- monitor_combine(list(airnow, airsis, wrcc))
The daily files are generated once a day, shortly after midnight and contain data for the previous 45 days.
For the most recent data, use loadLatest()
.
Avaialble RData and associated log files can be seen at: https://haze.airfire.org/monitoring/latest/RData/
loadDaily()
A ws_monitor object with PM2.5 monitoring data.
loadLatest
## Not run:
# Fail gracefully if any resources are not available
try({
ca <- loadDaily() %>% 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.