Learn R Programming

PWFSLSmoke (version 1.0.16)

airnow_loadDaily: Load Recent Processed AirNow Monitoring Data

Description

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

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 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/latest

Usage

airnow_loadDaily(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_loadLatest

Examples

Run this code
# NOT RUN {
airnow <- airnow_loadDaily()
airnow %>% monitor_subset(stateCodes=CONUS) %>% monitorMap()
# }

Run the code above in your browser using DataLab