Learn R Programming

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

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

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

David Carslaw

Last Published

March 1st, 2016

Functions in openair (1.7-3)

airbaseSplice

Function to simplify and combine airbase data imports
TaylorDiagram

Taylor Diagram for model evaluation with conditioning
importAirbase

Import hourly data from the European Environment Agency airbase database
trajLevel

Trajectory level plots with conditioning
importTraj

Import pre-calculated HYSPLIT 96-hour back trajectories
TheilSen

Tests for trends using Theil-Sen estimates
polarCluster

K-means clustering of bivariate polar plots
calcPercentile

Calculate percentile values from a time series
import

Generic data import for openair
kernelExceed

Kernel density plot for daily mean exceedance statistics
conditionalQuantile

Conditional quantile estimates for model evaluation
polarPlot

Bivariate polar plot with smoothing
percentileRose

Function to plot percentiles by wind direction
timeAverage

Function to calculate time averages for data frames
timeVariation

Diurnal, day of the week and monthly variation
modStats

Calculate common model evaluation statistics
polarAnnulus

Bivariate polarAnnulus plot
importKCL

Import data from King's College London networks
windRose

Traditional wind rose plot and pollution rose variation
polarFreq

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

GoogleMapsPlot
airbaseStats

Import pre-calculated airbase statistics
aqStats

Calculate summary statistics for air pollution data by year
cutData

Function to split data in different ways for conditioning
airbaseInfo

Get information about airbase sites and instruments
mydata

Example data for openair
importMeta

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

AURN csv file data import for openair
rollingMean

Calculate rollingMean values
selectByDate

Subset a data frame based on date
corPlot

corrgram plot with conditioning
importADMS

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

Plot time series values in convential calendar format
importSAQN

Scottish Air Quality Network data import for openair
openColours

openair colours
timeProp

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

Scale key handling for openair
scatterPlot

Flexible scatter plots
openair

Tools for the analysis of air pollution data
conditionalEval

Conditional quantile estimates with additional variables for model evaluation
linearRelation

Linear relations between pollutants
splitByDate

Divide up a data frame by time
calcFno2

Estimate NO2/NOX emission ratios from monitoring data
airbaseFindCode

Helper function to find EEA airbase site codes
selectRunning

Function to extract run lengths greater than a threshold
summaryPlot

Function to rapidly provide an overview of air quality data
smoothTrend

Calculate nonparametric smooth trends
trajPlot

Trajectory line plots with conditioning
quickText

Automatic text formatting for openair
importAURN

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

trendLevel
timePlot

Plot time series
trajCluster

Calculate clusters for back tracectories