Learn R Programming

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

openair (version 1.6.4)

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.6.4

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

David Carslaw

Last Published

October 23rd, 2015

Functions in openair (1.6.4)

importADMS

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

Get information about airbase sites and instruments
importTraj

Import pre-calculated HYSPLIT 96-hour back trajectories
summaryPlot

Function to rapidly provide an overview of air quality data
windRose

Traditional wind rose plot and pollution rose variation
importKCL

Import data from King's College London networks
TheilSen

Tests for trends using Theil-Sen estimates
airbaseStats

Import pre-calculated airbase statistics
quickText

Automatic text formatting for openair
timeAverage

Function to calculate time averages for data frames
airbaseSplice

Function to simplify and combine airbase data imports
drawOpenKey

Scale key handling for openair
percentileRose

Function to plot percentiles by wind direction
openColours

openair colours
timeProp

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

Trajectory line plots with conditioning
trendLevel

trendLevel
corPlot

corrgram plot with conditioning
splitByDate

Divide up a data frame by time
linearRelation

Linear relations between pollutants
smoothTrend

Calculate nonparametric smooth trends
importAURNCsv

AURN csv file data import for openair
scatterPlot

Flexible scatter plots
TaylorDiagram

Taylor Diagram for model evaluation with conditioning
modStats

Calculate common model evaluation statistics
openair

Tools for the analysis of air pollution data
polarCluster

K-means clustering of bivariate polar plots
polarPlot

Bivariate polar plot with smoothing
selectRunning

Function to extract run lengths greater than a threshold
trajLevel

Trajectory level plots with conditioning
GoogleMapsPlot

GoogleMapsPlot
conditionalQuantile

Conditional quantile estimates for model evaluation
kernelExceed

Kernel density plot for daily mean exceedance statistics
importMeta

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

Bivariate polarAnnulus plot
rollingMean

Calculate rollingMean values
polarFreq

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

Calculate percentile values from a time series
aqStats

Calculate summary statistics for air pollution data by year
calendarPlot

Plot time series values in convential calendar format
conditionalEval

Conditional quantile estimates with additional variables for model evaluation
selectByDate

Subset a data frame based on date
trajCluster

Calculate clusters for back tracectories
importAirbase

Import hourly data from the European Environment Agency airbase database
import

Generic data import for openair
cutData

Function to split data in different ways for conditioning
importAURN

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

Helper function to find EEA airbase site codes
timeVariation

Diurnal, day of the week and monthly variation
timePlot

Plot time series
importSAQN

Scottish Air Quality Network data import for openair
calcFno2

Estimate NO2/NOX emission ratios from monitoring data
mydata

Example data for openair