loadLatest: Load Recent PM2.5 Monitoring Data

Description Usage Value See Also Examples

View source: R/loadLatest.R

Description

Wrapper function to load and combine the most recent data from AirNow, AIRSIS and WRCC:

1
2
3
4
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/

Usage

1

Value

A ws_monitor object with PM2.5 monitoring data.

See Also

airsis_loadDaily

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# Fail gracefully if any resources are not available
try({

ca <- loadLatest() %>% monitor_subset(stateCodes='CA')

}, silent = FALSE)

## End(Not run)

PWFSLSmoke documentation built on Nov. 23, 2021, 5:06 p.m.