Usage
airbaseStats(statistic = "Mean", pollutant = "no2", avg.time = "auto",
code = NULL, site.type = c("background", "traffic", "industrial",
"unknown"), year = 1969:2012, data.cap = 0, add = c("country", "lat",
"lon", "site.type", "site", "city"))
Arguments
statistic
A single choice from P50,
Mean, P95, P98, Max,
Max36, Max8, Days.c.50.,
Max26, Day
pollutant
The single name of a pollutant to extract;
can be upper or lower case but must match one of those below.
avg.time
The averaging time on which the measurements are
based. By default the averaging period with most data associated
with it is used. For most pollutants the averaging period will be
day. Other common options are hour and
code
The airbase site code(s) to select. Can be upper or lower case.
site.type
The type of site(s) to select.
year
The year(s) to select e.g. year = 2000:2012
to
select years 2010, 2011 and 2012.
data.cap
The data capture threshold to use (%). By default
all data are selected.
add
Additional fields to add to the returned data frame. By
default the country, site type, latitude and logitude are
returned. Other useful options include city,
site (site name), EMEP_station and