Learn R Programming

⚠️There's a newer version (2.18-2) of this package.Take me there.

openair (version 1.0)

Tools for the analysis of air pollution data

Description

Tools to analyse, interpret and understand air pollution data. Data are typically hourly time series and both monitoring data and dispersion model output can be analysed. Many functions can also be applied to other data, including meteorological and traffic data.

Copy Link

Version

Install

install.packages('openair')

Monthly Downloads

6,880

Version

1.0

License

GPL (>= 2)

Maintainer

David Carslaw

Last Published

June 10th, 2014

Functions in openair (1.0)

airbaseSplice

Function to simplify and combine airbase data imports
timeProp

Time series plot with categories shown as a stacked bar chart
trendLevel

trendLevel
conditionalQuantile

Conditional quantile estimates for model evaluation
importKCL

Import data from King's College London networks
modStats

Calculate common model evaluation statistics
timeVariation

Diurnal, day of the week and monthly variation
importMeta

Import monitoring site meta data for the AURN, KCL and SAQN networks
openair

Tools for the analysis of air pollution data
summaryPlot

Function to rapidly provide an overview of air quality data
airbaseStats

Import pre-calculated airbase statistics
corPlot

corrgram plot with conditioning
kernelExceed

Kernel density plot for daily mean exceedance statistics
timeAverage

Function to calculate timeAverages for data frames
TaylorDiagram

Taylor Diagram for model evaluation with conditioning
GoogleMapsPlot

GoogleMapsPlot
conditionalEval

Conditional quantile estimates with additional variables for model evaluation
importAURNCsv

AURN csv file data import for openair
scatterPlot

Flexible scatter plots
aqStats

Calculate summary statistics for air pollution data by year
polarAnnulus

Bivariate polarAnnulus plot
importAirbase

Import hourly data from the European Environment Agency airbase database
cutData

Function to split data in different ways for conditioning
smoothTrend

Calculate nonparametric smooth trends
timePlot

Plot time series
calcFno2

Estimate NO2/NOX emission ratios from monitoring data
drawOpenKey

Scale key handling for openair
polarFreq

Function to plot wind speed/direction frequencies and other statistics
polarPlot

Bivariate polar plot with smoothing
selectByDate

Subset a data frame based on date
calcPercentile

Calculate percentile values from a time series
quickText

Automatic text formatting for openair
rollingMean

Calculate rollingMean values
importTraj

Import pre-calculated HYSPLIT 96-hour back trajectories
polarCluster

K-means clustering of bivariate polar plots
importAURN

Import data from the UK Automatic Urban and Rural Network (AURN)
selectRunning

Function to extract run lengths greater than a threshold
calendarPlot

Plot time series values in convential calendar format
linearRelation

Linear relations between pollutants
trajCluster

Calculate clusters for back tracectories
importSAQN

Scottish Air Quality Network data import for openair
percentileRose

Function to plot percentiles by wind direction
splitByDate

Divide up a data frame by time
importADMS

CERC Atmospheric Dispersion Modelling System (ADMS) data import function(s) for openair
airbaseFindCode

Helper function to find EEA airbase site codes
airbaseInfo

Get information about airbase sites and instruments
import

Generic data import for openair
mydata

Example data for openair
openColours

openair colours
trajLevel

Trajectory plots with conditioning
TheilSen

Tests for trends using Theil-Sen estimates
windRose

Traditional wind rose plot and pollution rose variation