Learn R Programming

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

openair (version 1.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

4,956

Version

1.1-0

License

GPL (>= 2)

Maintainer

David Carslaw

Last Published

January 5th, 2015

Functions in openair (1.1-0)

cutData

Function to split data in different ways for conditioning
linearRelation

Linear relations between pollutants
mydata

Example data for openair
polarAnnulus

Bivariate polarAnnulus plot
selectRunning

Function to extract run lengths greater than a threshold
splitByDate

Divide up a data frame by time
selectByDate

Subset a data frame based on date
timeVariation

Diurnal, day of the week and monthly variation
trajCluster

Calculate clusters for back tracectories
corPlot

corrgram plot with conditioning
airbaseSplice

Function to simplify and combine airbase data imports
aqStats

Calculate summary statistics for air pollution data by year
TheilSen

Tests for trends using Theil-Sen estimates
drawOpenKey

Scale key handling for openair
importMeta

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

Import hourly data from the European Environment Agency airbase database
import

Generic data import for openair
importTraj

Import pre-calculated HYSPLIT 96-hour back trajectories
importAURN

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

Kernel density plot for daily mean exceedance statistics
modStats

Calculate common model evaluation statistics
openColours

openair colours
polarFreq

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

Function to rapidly provide an overview of air quality data
timePlot

Plot time series
trajPlot

Trajectory line plots with conditioning
windRose

Traditional wind rose plot and pollution rose variation
GoogleMapsPlot

GoogleMapsPlot
airbaseFindCode

Helper function to find EEA airbase site codes
calendarPlot

Plot time series values in convential calendar format
conditionalQuantile

Conditional quantile estimates for model evaluation
importKCL

Import data from King's College London networks
percentileRose

Function to plot percentiles by wind direction
polarPlot

Bivariate polar plot with smoothing
smoothTrend

Calculate nonparametric smooth trends
timeAverage

Function to calculate time averages for data frames
rollingMean

Calculate rollingMean values
trendLevel

trendLevel
airbaseInfo

Get information about airbase sites and instruments
calcFno2

Estimate NO2/NOX emission ratios from monitoring data
TaylorDiagram

Taylor Diagram for model evaluation with conditioning
conditionalEval

Conditional quantile estimates with additional variables for model evaluation
airbaseStats

Import pre-calculated airbase statistics
calcPercentile

Calculate percentile values from a time series
importAURNCsv

AURN csv file data import for openair
importADMS

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

Scottish Air Quality Network data import for openair
polarCluster

K-means clustering of bivariate polar plots
quickText

Automatic text formatting for openair
scatterPlot

Flexible scatter plots
timeProp

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

Tools for the analysis of air pollution data
trajLevel

Trajectory level plots with conditioning