Package: openair 3.1.0.9000

David Carslaw

openair: Tools for the Analysis of Air Pollution Data

Tools to analyse, interpret and understand air pollution data. Data are typically regular time series and air quality measurement, meteorological data and dispersion model output can be analysed. The package is described in Carslaw and Ropkins (2012, <doi:10.1016/j.envsoft.2011.09.008>) and subsequent papers.

Authors:David Carslaw [aut, cre], Jack Davison [aut], Karl Ropkins [aut]

openair_3.1.0.9000.tar.gz
openair_3.1.0.9000.zip(r-4.7)openair_3.1.0.9000.zip(r-4.6)openair_3.1.0.9000.zip(r-4.5)
openair_3.1.0.9000.tgz(r-4.6-x86_64)openair_3.1.0.9000.tgz(r-4.6-arm64)openair_3.1.0.9000.tgz(r-4.5-x86_64)openair_3.1.0.9000.tgz(r-4.5-arm64)
openair_3.1.0.9000.tar.gz(r-4.7-arm64)openair_3.1.0.9000.tar.gz(r-4.7-x86_64)openair_3.1.0.9000.tar.gz(r-4.6-arm64)openair_3.1.0.9000.tar.gz(r-4.6-x86_64)
openair_3.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
openair/json (API)

# Install 'openair' in R:
install.packages('openair', repos = c('https://openair-project.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/openair-project/openair/issues

Pkgdown/docs site:https://openair-project.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • mydata - Example air quality monitoring data for openair

On CRAN:

Conda:

air-qualityair-quality-datameteorologyopenaircpp

13.07 score 360 stars 9 packages 1.3k scripts 5.1k downloads 10 mentions 67 exports 49 dependencies

Last updated from:97886840de. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK217
linux-devel-x86_64OK234
source / vignettesOK245
linux-release-arm64OK223
linux-release-x86_64OK222
macos-release-arm64OK235
macos-release-x86_64OK291
macos-oldrel-arm64OK163
macos-oldrel-x86_64OK422
windows-develOK230
windows-releaseOK224
windows-oldrelOK206
wasm-releaseOK181

Exports:aqStatsbinDatabootMeanDFbreakOptscalcPercentilecalendarPlotcolorOptscolourOptsconditionalEvalconditionalQuantilecorPlotcutDatadatePaddistAngledistEucliddistPlotGaussianSmoothimportADMSimportAQEimportAURNimportEuropeimportImperialimportKCLimportLocalimportMetaimportNIimportSAQNimportTrajimportUKAQimportWAQNkzaFilterkzFiltermodStatsopenColorsopenColoursopenSchemespercentileRosepolarAnnuluspolarClusterpolarDiffpolarFreqpolarPlotpollutionRosequickTextrefOptsrollingMeanrollingQuantilerunRegressionscatterPlotselectByDateselectRunningsmoothTrendsplitByDateTaylorDiagramTheilSentimeAveragetimePlottimeProptimeVariationtrajClustertrajLeveltrajPlottrendLevelvariationPlotWhittakerSmoothwindflowOptswindRose

Dependencies:bitbit64clicliprclustercpp11crayondplyrfarvergenericsggplot2gluegtablehmsisobandlabelinglatticelifecyclelubridatemagrittrMASSMatrixmgcvnlmepatchworkpillarpkgconfigprettyunitsprogresspurrrR6RColorBrewerRcppreadrrlangS7scalesstringistringrtibbletidyrtidyselecttimechangetzdbutf8vctrsviridisLitevroomwithr

Readme and manuals

Help Manual

Help pageTopics
Calculate summary statistics for air pollution data by yearaqStats
Bin data, calculate mean and bootstrap confidence interval in the meanbinData bootMeanDF
Define 'breaks' options for 'openair' plotsbreakOpts
Calculate percentile values from a time seriescalcPercentile
Plot time series values in a conventional calendar formatcalendarPlot
Define 'cols' options for 'openair' plotscolorOpts colourOpts
Conditional quantile estimates with additional variables for model evaluationconditionalEval
Conditional quantile estimates for model evaluationconditionalQuantile
Correlation matrices with conditioningcorPlot
Function to split data in different ways for conditioningcutData
Pad a time-series dataframe and optionally fill values by blockdatePad
Plot the distribution of a variable with conditioningdistPlot
Calculate rolling Gaussian smooth of pollutant valuesGaussianSmooth
CERC Atmospheric Dispersion Modelling System (ADMS) data import function(s) for openairimportADMS importADMSBgd importADMSMet importADMSMop importADMSPst
Import data from individual UK Air Pollution NetworksimportAQE importAURN importLocal importNI importSAQN importWAQN
Import air quality data from European database until February 2024importEurope
Import data from Imperial College London networksimportImperial importKCL
Import monitoring site meta data for UK and European networksimportMeta
Import pre-calculated HYSPLIT 96-hour back trajectoriesimportTraj
Import data from the UK Air Pollution NetworksimportUKAQ
(Adaptive) Kolmogorov-Zurbenko (KZ) FilterkzaFilter kzFilter
Calculate common model evaluation statisticsmodStats
Example air quality monitoring data for openairmydata
Pre-defined openair colours and definition of user-defined coloursopenColors openColours
List available colour schemes in 'openair'openSchemes
Function to plot percentiles by wind directionpercentileRose
Bivariate polarAnnulus plotpolarAnnulus
K-means clustering of bivariate polar plotspolarCluster
Polar plots considering changes in concentrations between two time periodspolarDiff
Function to plot wind speed/direction frequencies and other statisticspolarFreq
Function for plotting bivariate polar plots with smoothing.polarPlot
Pollution rose variation of the traditional wind rose plotpollutionRose
Automatic text formatting for openairquickText
Define 'ref.x' or 'ref.y' options for 'openair' plotsrefOpts
Calculate rolling mean pollutant valuesrollingMean
Calculate rolling quantile pollutant valuesrollingQuantile
Rolling regression for pollutant source characterisation.runRegression
Flexible scatter plotsscatterPlot
Subset a data frame based on dateselectByDate
Function to extract run lengths greater than a thresholdselectRunning
Calculate nonparametric smooth trendssmoothTrend
Divide up a data frame by timesplitByDate
Taylor Diagram for model evaluation with conditioningTaylorDiagram
Tests for trends using Theil-Sen estimatesTheilSen
Function to calculate time averages for data framestimeAverage
Plot time series, perhaps for multiple pollutants, grouped or in separate panels.timePlot
Time series plot with categories shown as a stacked bar charttimeProp
Temporal variation plots with flexible panel controltimeVariation
Calculate clusters for back trajectoriestrajCluster
Trajectory level plots with conditioningtrajLevel
Trajectory line plots with conditioningtrajPlot
Plot heat maps of atmospheric composition datatrendLevel
Variation PlotvariationPlot
Calculate Whittaker-Eilers Smoothing, Interpolation and Baseline DeterminationWhittakerSmooth
Define 'windflow' options for 'openair' plotswindflowOpts
Traditional wind rose plotwindRose