d.pollZH16 {plgraphics}R Documentation

Air Pollution Monitoring in Zurich

Description

Hourly air pollution measurements from a station in the city center of Zurich, in a courtyard, for the whole year 2016, resulting in 8784 measurements of the two pollution variables ozone and nitrogen dioxyde, the three weather variables temperature, radiation and precipitation, and 8 variables characterizing the date.

pollZH16d is the subset of measurements for hour=15.

Usage

data("d.pollZH16")

Format

A data frame with 8784 observations on the following 13 variables.

date

date of the measurement

hour

hour of the measurement

O3

Ozone

NO2

Nitroge dioxyde

temp

temperature

rad

solar radiation

prec

precipitation

dateshort

two letter identification of the day. A-L encodes the month; 1-9, a-x encodes the day within month.

weekday

day of the week

month

month

sumhalf

indicator for summer half year (April to Sept)

sunday

logical: indicator for Sunday

daytype

a factor with levels work for working day, Sat and Sun

Note

Legal threshold for NO2 in the EU: The threshold of 200 micrograms/m3 must not be exceeded by more than 18 hourly measurements per year.
Source: Umweltbundesamt, Germany http://www.umweltbundesamt.de/daten/luftbelastung/stickstoffdioxid-belastung#textpart-2

Source

Bundesamt fur Umwelt (BAFU), Schw. Eidgenossenschaft https://www.bafu.admin.ch/bafu/de/home/themen/luft/zustand/daten/datenabfrage-nabel.html
The data set has been generated by downloading the files for the individual variables, converting the entries with hour==24 to hour==0 of the following day and restricting the data to year 2016.

Examples

data(d.pollZH16)
dp <- d.pollZH16
names(dp)

dp$date <- gendateaxis(date=dp$date, hour=dp$hour)

plyx(O3+NO2~date, data=dp, subset= month=="May", type="l")

dp$summer <- dp$month %in% c("Jun","Jul","Aug") 
dp$daylight <- dp$hour>8 & dp$hour<17
plmatrix(O3~temp+logst(rad)+logst(prec), data=dp, 
         subset = summer & daylight)

[Package plgraphics version 1.2 Index]