airnow_load: Load Processed AirNow Monitoring Data

Description Usage Arguments Value See Also Examples

View source: R/airnow_load.R

Description

Loads pre-generated .RData files containing AirNow data. This function loads annual or monthly fiels from the data archive.

For the most recent data, use airnow_loadLatest().

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/

Usage

1
2
airnow_load(year = 2017, month = NULL, parameter = "PM2.5",
  baseUrl = "https://haze.airfire.org/monitoring/AirNow/RData/")

Arguments

year

desired year (integer or character representing YYYY)

month

desired month (integer or character representing MM)

parameter

parameter of interest

baseUrl

base URL for AirNow meta and data files

Value

A ws_monitor object with AirNow data.

See Also

airnow_loadDaily

airnow_loadLatest

Examples

1
2
3
4
5
6
## Not run: 
airnow <- airnow_load(2017, 09)
airnow_conus <- monitor_subset(airnow, stateCodes=CONUS)
monitorLeaflet(airnow_conus)

## End(Not run)

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