loadLatest: Load Recent PM2.5 Monitoring Data

View source: R/loadLatest.R

loadLatestR Documentation

Load Recent PM2.5 Monitoring Data

Description

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/

Usage

loadLatest()

Value

A ws_monitor object with PM2.5 monitoring data.

See Also

airsis_loadDaily

Examples

## Not run: 
# Fail gracefully if any resources are not available
try({

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

}, silent = FALSE)

## End(Not run)

MazamaScience/PWFSLSmoke documentation built on July 3, 2023, 11:03 a.m.