Learn R Programming

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

openair (version 1.5)

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

5,974

Version

1.5

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

David Carslaw

Last Published

April 14th, 2015

Functions in openair (1.5)

aqStats

Calculate summary statistics for air pollution data by year
conditionalQuantile

Conditional quantile estimates for model evaluation
mydata

Example data for openair
trajLevel

Trajectory level plots with conditioning
calcPercentile

Calculate percentile values from a time series
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)
cutData

Function to split data in different ways for conditioning
airbaseFindCode

Helper function to find EEA airbase site codes
import

Generic data import for openair
trajCluster

Calculate clusters for back tracectories
importMeta

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

Calculate rollingMean values
selectByDate

Subset a data frame based on date
conditionalEval

Conditional quantile estimates with additional variables for model evaluation
polarPlot

Bivariate polar plot with smoothing
splitByDate

Divide up a data frame by time
importSAQN

Scottish Air Quality Network data import for openair
TheilSen

Tests for trends using Theil-Sen estimates
smoothTrend

Calculate nonparametric smooth trends
timeVariation

Diurnal, day of the week and monthly variation
windRose

Traditional wind rose plot and pollution rose variation
openair

Tools for the analysis of air pollution data
corPlot

corrgram plot with conditioning
percentileRose

Function to plot percentiles by wind direction
TaylorDiagram

Taylor Diagram for model evaluation with conditioning
calcFno2

Estimate NO2/NOX emission ratios from monitoring data
kernelExceed

Kernel density plot for daily mean exceedance statistics
calendarPlot

Plot time series values in convential calendar format
linearRelation

Linear relations between pollutants
modStats

Calculate common model evaluation statistics
importAURNCsv

AURN csv file data import for openair
importKCL

Import data from King's College London networks
airbaseStats

Import pre-calculated airbase statistics
importAirbase

Import hourly data from the European Environment Agency airbase database
drawOpenKey

Scale key handling for openair
importADMS

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

openair colours
quickText

Automatic text formatting for openair
trendLevel

trendLevel
airbaseInfo

Get information about airbase sites and instruments
GoogleMapsPlot

GoogleMapsPlot
selectRunning

Function to extract run lengths greater than a threshold
trajPlot

Trajectory line plots with conditioning
polarFreq

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

Function to calculate time averages for data frames
polarAnnulus

Bivariate polarAnnulus plot
timeProp

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

Function to rapidly provide an overview of air quality data
airbaseSplice

Function to simplify and combine airbase data imports
scatterPlot

Flexible scatter plots
timePlot

Plot time series