Learn R Programming

openair (version 0.3-13)

openair-package: Tools for the analysis of air pollution data

Description

This is a UK Natural Environment Research Council (NERC) funded knowledge exchange project that aims to make available innovative analysis tools for air pollution data; with additional support from Defra. The tools have generally been developed to analyse data of at least hourly resolution both for air pollution monitoring and dispersion modelling. The availability of meteorological data at the same time resolution greatly enhances the capabilities of these tools. The project itself is currently funded until October 2011. Up until that time the development will carried out on R-Forge (http://r-forge.r-project.org/projects/openair/).

Arguments

Details

ll{ Package: openair Type: Package Version: 0.3-7 Date: 2010-09-07 License: GPL LazyLoad: yes } openair contains collection of functions to analyse air pollution data. Typically it is expected that data are hourly means, although most functions consider other time periods. The principal aim to make available analysis techniques that most users of air quality data and model output would not normally have access to. The functions consist of those developed by the authors and a growing number from other researchers. Most functions work in a very straightforward way, but offer many options for finer control and perhaps more in-depth analysis. The openair package depends on several other packages written by other people to function properly. To ensure that these other packages are available, they need to be installed, and this requires a connection to the internet. Other packages required come with the R base system. This can be done by pasting the text below into R. install.packages(c("zoo", "reshape", "plyr", "RColorBrewer", "proto")) If there are problems with the automatic download of these packages, see http://www.openair-project.org for more details. To check to see if openair has been correctly installed, try some of the examples below. In case of any problems, contact David Carslaw mailto: david.carslaw@kcl.ac.uk or Karl Ropkins mailto: k.ropkins@its.leeds.ac.uk directly.

References

Most reference details are given under the specific functions. Carslaw, D.C. and K. Ropkins (2010). Open-source tools for analysing air pollution data. King's College London and the University of Leeds.

See Also

See http://www.openair-project.org for up to date information on the project.

Examples

Run this code
# load example data from package
data(mydata)

# summarise the data in a compact way
summaryPlot(mydata)

# traditional wind rose
windRose(mydata)

# basic plot
polarPlot(mydata, pollutant = "nox")

Run the code above in your browser using DataLab