Air Quality Data Analysis
Add an AQI legend to a map
Add AQI lines to a plot
Create stacked AQI bar
Add nighttime shading to a timeseries plot
USFS maintained archive base URL
AirMonitor: Air Quality Data Analysis
Load annual AirNow monitoring data
Load daily AirNow monitoring data
Load most recent AirNow monitoring data
Load monthly AirNow monitoring data
Load annual AIRSIS monitoring data
Load daily AIRSIS monitoring data
Load most recent AIRSIS monitoring data
Generate AQI categories
Generate AQI colors
CONUS state codes
Names of standard metadata columns
Load annual AirNow monitoring data
Calculate hourly NowCast-based AQI values
Order mts_monitor time series by metadata values
Return the most common timezone
Check an mts_monitor object for validity.
Collapse an mts_monitor object into a single time series
Combine multiple mts_monitor objects
Create daily barplot
Create daily statistics for each monitor in an mts_monitor object
Daily counts of values at or above a threshold
Retain only distinct data records in monitor$data
Drop device deployments with all missing data
Create Interactive Time Series Plot
Filter by distance from a target location
Date filtering for mts_monitor objects
Datetime filtering for mts_monitor objects
General purpose metadata filtering for mts_monitor objects
Convert a ws_monitor object from the PWFSLSmoke package
Get current status of monitors
Extract dataframes from mts_monitor objects
Calculate distances from mts_monitor locations to a location of in...
Test for an empty mts_monitor object
Test mts_monitor object for correct structure
Leaflet interactive map of monitor locations
Load monitoring data from all sources
Load annual monitoring data from all sources
Load daily monitoring data from all sources
Load most recent monitoring data from all sources
Apply a function to mts_monitor time series
Apply NowCast algorithm to mts_monitor data
Extract a column of metadata or data
Replace mts_monitor data with another value
Subset and reorder time series within an mts_monitor object
Data-based subsetting of time series within an mts_monitor object.
Extend/contract mts_monitor time series to new start and end times
Subset time series based on their position within an mts_monitor o...
Get time related information for a monitor
Get the time range for a monitor
Create timeseries plot
Convert monitor data into an AQI category table
Convert monitor data as CSV
Convert a mts_monitor object to a ws_monitor object for the PWFSLSmoke...
Trim a mts_monitor object to full days
Pipe operator
Names of standard pollutants
Invalidate consecutive suspect values.
US state codes
US EPA AQI Index levels, names, colors and action text
Load annual WRCC monitoring data
Load daily WRCC monitoring data
Load most recent WRCC monitoring data
Utilities for working with hourly air quality monitoring data with a focus on small particulates (PM2.5). A compact data model is structured as a list with two dataframes. A 'meta' dataframe contains spatial and measuring device metadata associated with deployments at known locations. A 'data' dataframe contains a 'datetime' column followed by columns of measurements associated with each "device-deployment". Algorithms to calculate NowCast and the associated Air Quality Index (AQI) are defined at the US Environmental Projection Agency AirNow program: <https://document.airnow.gov/technical-assistance-document-for-the-reporting-of-daily-air-quailty.pdf>.
Useful links