Learn R Programming

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

openair (version 1.8-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

4,751

Version

1.8-0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

David Carslaw

Last Published

March 24th, 2016

Functions in openair (1.8-0)

splitByDate

Divide up a data frame by time
linearRelation

Linear relations between pollutants
polarCluster

K-means clustering of bivariate polar plots
kernelExceed

Kernel density plot for daily mean exceedance statistics
import

Generic data import for openair
scatterPlot

Flexible scatter plots
rollingMean

Calculate rollingMean values
calcPercentile

Calculate percentile values from a time series
importAURN

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

Calculate clusters for back tracectories
percentileRose

Function to plot percentiles by wind direction
trajPlot

Trajectory line plots with conditioning
GoogleMapsPlot

GoogleMapsPlot
mydata

Example data for openair
polarPlot

Bivariate polar plot with smoothing
polarFreq

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

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

Taylor Diagram for model evaluation with conditioning
aqStats

Calculate summary statistics for air pollution data by year
calendarPlot

Plot time series values in convential calendar format
timePlot

Plot time series
airbaseFindCode

Helper function to find EEA airbase site codes
importADMS

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

Calculate nonparametric smooth trends
selectByDate

Subset a data frame based on date
importMeta

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

Function to split data in different ways for conditioning
airbaseInfo

Get information about airbase sites and instruments
conditionalQuantile

Conditional quantile estimates for model evaluation
trajLevel

Trajectory level plots with conditioning
importTraj

Import pre-calculated HYSPLIT 96-hour back trajectories
trendLevel

trendLevel
importSAQN

Scottish Air Quality Network data import for openair
polarAnnulus

Bivariate polarAnnulus plot
modStats

Calculate common model evaluation statistics
openair

Tools for the analysis of air pollution data
TheilSen

Tests for trends using Theil-Sen estimates
quickText

Automatic text formatting for openair
timeAverage

Function to calculate time averages for data frames
importKCL

Import data from King's College London networks
drawOpenKey

Scale key handling for openair
corPlot

corrgram plot with conditioning
openColours

openair colours
airbaseSplice

Function to simplify and combine airbase data imports
importAirbase

Import hourly data from the European Environment Agency airbase database
summaryPlot

Function to rapidly provide an overview of air quality data
windRose

Traditional wind rose plot and pollution rose variation
conditionalEval

Conditional quantile estimates with additional variables for model evaluation
calcFno2

Estimate NO2/NOX emission ratios from monitoring data
airbaseStats

Import pre-calculated airbase statistics
importAURNCsv

AURN csv file data import for openair
timeVariation

Diurnal, day of the week and monthly variation
selectRunning

Function to extract run lengths greater than a threshold