loadDaily: Load Recent PM2.5 Monitoring Data

Description Usage Value See Also Examples

View source: R/loadDaily.R

Description

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

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

Usage

1

Value

A ws_monitor object with PM2.5 monitoring data.

See Also

loadLatest

Examples

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

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

}, silent = FALSE)

## End(Not run)

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