importMeta {openair}R Documentation

Import monitoring site meta data for the UK and European networks

Description

Function to import meta data for air quality monitoring sites

Usage

importMeta(source = "aurn", all = FALSE)

Arguments

source

The data source for the meta data. Can be “aurn”, “saqn” (or “saqd”), “aqe”, “ni”, “kcl” or “europe”; upper or lower case.

all

When all = FALSE only the site code, site name, latitude and longitude and site type are imported. Setting all = TRUE will import all available meta data and provide details (when available) or the individual pollutants measured at each site.

Details

This function imports site meta data from several networks in the UK and Europe:

By default, the function will return the site latitude, longitude and site type. If the option all = TRUE is used, much more detailed information is returned. For most networks, this detailed information includes per-pollutant summaries, opening and closing dates of sites etc.

Thanks go to Trevor Davies (Ricardo), Dr Stuart Grange (EMPA) and Dr Ben Barratt (KCL) and for making these data available.

Value

A data frame with meta data.

Author(s)

David Carslaw

See Also

importAURN, importKCL and importSAQN for importing air quality data from each network.

Examples

## basic data

## Not run: 
meta <- importMeta(source = "aurn")

# more detailed information:
meta <- importMeta(source = "aurn", all = TRUE)

# from the Scottish Air Quality Network
meta <- importMeta(source = "saqn", all = TRUE)

## End(Not run)

[Package openair version 2.8-4 Index]