PWFSLSmoke (version 1.2.100)

airnow_loadDaily: Load recent AirNow monitoring data

Description

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

If dataDir is defined, data will be loaded from this local dirctory. Otherwise, data will be loaded from the monitoring data repository maintained by PWFSL.

The daily files loaded by this function are updated once a day, shortly after midnight and contain data for the previous 45 days.

For the most recent data, use airnow_loadLatest().

For data extended more than 45 days into the past, use airnow_loadAnnual().

AirNow parameters include the following:

  1. PM2.5

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

Usage

airnow_loadDaily(parameter = "PM2.5",
  baseUrl = "https://haze.airfire.org/monitoring/latest/RData",
  dataDir = NULL)

Arguments

parameter

Parameter of interest.

baseUrl

Base URL for 'daily' AirNow data files.

dataDir

Local directory containing 'daily' data files.

Value

A ws_monitor object with AirNow data.

See Also

airnow_loadAnnual

airnow_loadLatest

Examples

Run this code
# NOT RUN {
airnow_loadDaily() %>%
  monitor_subset(stateCodes=CONUS) %>%
  monitor_map()
# }

Run the code above in your browser using DataLab