Learn R Programming

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

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

4,956

Version

1.1-5

License

GPL (>= 2)

Maintainer

David Carslaw

Last Published

February 9th, 2015

Functions in openair (1.1-5)

cutData

Function to split data in different ways for conditioning
importSAQN

Scottish Air Quality Network data import for openair
aqStats

Calculate summary statistics for air pollution data by year
trajPlot

Trajectory line plots with conditioning
timePlot

Plot time series
timeProp

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

Tests for trends using Theil-Sen estimates
openair

Tools for the analysis of air pollution data
polarCluster

K-means clustering of bivariate polar plots
modStats

Calculate common model evaluation statistics
linearRelation

Linear relations between pollutants
selectByDate

Subset a data frame based on date
polarFreq

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

Calculate rollingMean values
smoothTrend

Calculate nonparametric smooth trends
splitByDate

Divide up a data frame by time
calendarPlot

Plot time series values in convential calendar format
TaylorDiagram

Taylor Diagram for model evaluation with conditioning
polarAnnulus

Bivariate polarAnnulus plot
trajCluster

Calculate clusters for back tracectories
polarPlot

Bivariate polar plot with smoothing
importADMS

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

AURN csv file data import for openair
trendLevel

trendLevel
airbaseStats

Import pre-calculated airbase statistics
quickText

Automatic text formatting for openair
timeVariation

Diurnal, day of the week and monthly variation
importAirbase

Import hourly data from the European Environment Agency airbase database
kernelExceed

Kernel density plot for daily mean exceedance statistics
selectRunning

Function to extract run lengths greater than a threshold
airbaseInfo

Get information about airbase sites and instruments
drawOpenKey

Scale key handling for openair
importAURN

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

Import data from King's College London networks
openColours

openair colours
conditionalQuantile

Conditional quantile estimates for model evaluation
summaryPlot

Function to rapidly provide an overview of air quality data
calcPercentile

Calculate percentile values from a time series
conditionalEval

Conditional quantile estimates with additional variables for model evaluation
corPlot

corrgram plot with conditioning
airbaseFindCode

Helper function to find EEA airbase site codes
mydata

Example data for openair
timeAverage

Function to calculate time averages for data frames
windRose

Traditional wind rose plot and pollution rose variation
importMeta

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

Generic data import for openair
trajLevel

Trajectory level plots with conditioning
calcFno2

Estimate NO2/NOX emission ratios from monitoring data
airbaseSplice

Function to simplify and combine airbase data imports
scatterPlot

Flexible scatter plots
GoogleMapsPlot

GoogleMapsPlot
importTraj

Import pre-calculated HYSPLIT 96-hour back trajectories
percentileRose

Function to plot percentiles by wind direction