Learn R Programming

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

openair (version 1.1-3)

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.1-3

License

GPL (>= 2)

Maintainer

David Carslaw

Last Published

January 27th, 2015

Functions in openair (1.1-3)

airbaseInfo

Get information about airbase sites and instruments
airbaseStats

Import pre-calculated airbase statistics
importADMS

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

Import pre-calculated HYSPLIT 96-hour back trajectories
polarFreq

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

Flexible scatter plots
trajPlot

Trajectory line plots with conditioning
TaylorDiagram

Taylor Diagram for model evaluation with conditioning
modStats

Calculate common model evaluation statistics
mydata

Example data for openair
corPlot

corrgram plot with conditioning
kernelExceed

Kernel density plot for daily mean exceedance statistics
GoogleMapsPlot

GoogleMapsPlot
conditionalEval

Conditional quantile estimates with additional variables for model evaluation
cutData

Function to split data in different ways for conditioning
drawOpenKey

Scale key handling for openair
import

Generic data import for openair
importAURN

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

Import hourly data from the European Environment Agency airbase database
importSAQN

Scottish Air Quality Network data import for openair
importMeta

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

Import data from King's College London networks
openair

Tools for the analysis of air pollution data
polarCluster

K-means clustering of bivariate polar plots
polarAnnulus

Bivariate polarAnnulus plot
percentileRose

Function to plot percentiles by wind direction
summaryPlot

Function to rapidly provide an overview of air quality data
timePlot

Plot time series
trajCluster

Calculate clusters for back tracectories
timeProp

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

Function to extract run lengths greater than a threshold
trendLevel

trendLevel
calcPercentile

Calculate percentile values from a time series
TheilSen

Tests for trends using Theil-Sen estimates
calendarPlot

Plot time series values in convential calendar format
importAURNCsv

AURN csv file data import for openair
selectByDate

Subset a data frame based on date
linearRelation

Linear relations between pollutants
splitByDate

Divide up a data frame by time
rollingMean

Calculate rollingMean values
trajLevel

Trajectory level plots with conditioning
timeVariation

Diurnal, day of the week and monthly variation
airbaseFindCode

Helper function to find EEA airbase site codes
conditionalQuantile

Conditional quantile estimates for model evaluation
aqStats

Calculate summary statistics for air pollution data by year
airbaseSplice

Function to simplify and combine airbase data imports
openColours

openair colours
calcFno2

Estimate NO2/NOX emission ratios from monitoring data
polarPlot

Bivariate polar plot with smoothing
quickText

Automatic text formatting for openair
smoothTrend

Calculate nonparametric smooth trends
timeAverage

Function to calculate time averages for data frames
windRose

Traditional wind rose plot and pollution rose variation