Package: openair 2.18.2.9004

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_2.18.2.9004.tar.gz
openair_2.18.2.9004.zip(r-4.5)openair_2.18.2.9004.zip(r-4.4)openair_2.18.2.9004.zip(r-4.3)
openair_2.18.2.9004.tgz(r-4.4-x86_64)openair_2.18.2.9004.tgz(r-4.4-arm64)openair_2.18.2.9004.tgz(r-4.3-x86_64)openair_2.18.2.9004.tgz(r-4.3-arm64)
openair_2.18.2.9004.tar.gz(r-4.5-noble)openair_2.18.2.9004.tar.gz(r-4.4-noble)
openair_2.18.2.9004.tgz(r-4.4-emscripten)openair_2.18.2.9004.tgz(r-4.3-emscripten)
openair.pdf |openair.html
openair/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/davidcarslaw/openair/issues

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

On CRAN:

air-qualityair-quality-datameteorologyopenair

12.68 score 305 stars 12 packages 1.1k scripts 5.5k downloads 10 mentions 53 exports 50 dependencies

Last updated 4 days agofrom:d8a630ee8b. Checks:OK: 4 NOTE: 5. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-win-x86_64NOTENov 19 2024
R-4.5-linux-x86_64NOTENov 19 2024
R-4.4-win-x86_64NOTENov 19 2024
R-4.4-mac-x86_64NOTENov 19 2024
R-4.4-mac-aarch64NOTENov 19 2024
R-4.3-win-x86_64OKNov 19 2024
R-4.3-mac-x86_64OKNov 19 2024
R-4.3-mac-aarch64OKNov 19 2024

Exports:aqStatsbinDatabootMeanDFcalcFno2calcPercentilecalendarPlotconditionalEvalconditionalQuantilecorPlotcutDatadrawOpenKeyimportADMSimportAQEimportAURNimportEuropeimportKCLimportLocalimportMetaimportNIimportSAQNimportTrajimportUKAQimportWAQNlinearRelationmodStatsopenColourspercentileRosepolarAnnuluspolarClusterpolarDiffpolarFreqpolarPlotpollutionRosequickTextrollingMeanrunRegressionscatterPlotselectByDateselectRunningsmoothTrendsplitByDatesummaryPlotTaylorDiagramTheilSentimeAveragetimePlottimeProptimeVariationtrajClustertrajLeveltrajPlottrendLevelwindRose

Dependencies:bitbit64clicliprclustercpp11crayondeldirdplyrfansigenericsgluehexbinhmsinterpjpeglatticelatticeExtralifecyclelubridatemagrittrmapprojmapsMASSMatrixmgcvnlmepillarpkgconfigpngprettyunitsprogresspurrrR6RColorBrewerRcppRcppEigenreadrrlangstringistringrtibbletidyrtidyselecttimechangetzdbutf8vctrsvroomwithr

Readme and manuals

Help Manual

Help pageTopics
Calculate summary statistics for air pollution data by yearaqStats
Bin data, calculate mean and bootstrap 95 % confidence interval in the meanbinData
Bootsrap confidence intervals in the meanbootMeanDF
Estimate NO2/NOX emission ratios from monitoring datacalcFno2
Calculate percentile values from a time seriescalcPercentile
Plot time series values in a conventional calendar formatcalendarPlot
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
Scale key handling for openairdrawOpenKey
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 databaseimportEurope
Import data from King's College London networksimportKCL
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
Linear relations between pollutantslinearRelation
Calculate common model evaluation statisticsmodStats
Example data for openairmydata
Pre-defined openair colours and definition of user-defined coloursopenColours
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
Calculate rollingMean valuesrollingMean
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
Function to rapidly provide an overview of air quality datasummaryPlot
Taylor Diagram for model evaluation with conditioningTaylorDiagram
Tests for trends using Theil-Sen estimatesTheilSen
Function to calculate time averages for data framestimeAverage
Plot time seriestimePlot
Time series plot with categories shown as a stacked bar charttimeProp
Diurnal, day of the week and monthly variationtimeVariation
Calculate clusters for back trajectoriestrajCluster
Trajectory level plots with conditioningtrajLevel
Trajectory line plots with conditioningtrajPlot
Plot heat map trendstrendLevel
Traditional wind rose plotwindRose