airnow_loadLatest: Load Most Recent Processed AirNow Monitoring Data

Description Usage Arguments Value See Also Examples

View source: R/airnow_loadLatest.R

Description

Loads pre-generated .RData files containing the most recent AirNow data.

AirNow parameters include the following:

  1. PM2.5

Avaialble RData and associated log files can be seen at: https://haze.airfire.org/monitoring/AirNow/RData/latest

Usage

1
2
airnow_loadLatest(parameter = "PM2.5",
  baseUrl = "https://haze.airfire.org/monitoring/AirNow/RData/")

Arguments

parameter

parameter of interest

baseUrl

base URL for AirNow data

Value

A ws_monitor object with AirNow data.

See Also

airnow_load

airnow_loadDaily

Examples

1
2
3
4
5
6
7
## Not run: 
airnow <- airnow_loadLatest()
ca_mean <- monitor_subset(airnow, stateCodes='CA') %>%
           monitor_collapse()
monitorPlot_timeseries(ca_mean, shadedNight=TRUE)

## End(Not run)

PWFSLSmoke documentation built on Oct. 6, 2018, 1:03 a.m.