Description Usage Arguments Details Value Note Author(s) Source Examples
The National Air Pollution Monitoring Network (NABEL) provides time series data on air-borne pollutant concentrations from a network of measurement stations across Switzerland. The data can be queried with an HTML form (see sources). This is a simple function that serves as a wrapper for that HTML form. Its main purpose is to demonstrate some of the capabilities of http://opencpu.org/ by Jeroen Ooms.
| 1 2 3 4 5 |   nabel(pollutant = c("o3", "no2", "so2", "co", "nmvoc", "pm10", "pm1", "cpc", "temp", "prec", "rad"),
    stations = c("Bern-Bollwerk", "Lausanne-C<c3><a9>sar-Roux", "Lugano-Universit<c3><a0>", "Z<c3><bc>rich-Kaserne", "Basel-Binningen", "D<c3><bc>bendorf-Empa", "H<c3><a4>rkingen-A1", "Sion-A<c3><a9>roport-A9", "Magadino-Cadenazzo", "Payerne", "T<c3><a4>nikon", "L<c3><a4>geren", "Chaumont", "Rigi-Seebodenalp", "Davos-Seehornwald", "Jungfraujoch"),
    interval = c("hourly", "daily"),
    period = c("day", "week", "month", "free"),
    from = NULL, to = NULL)
 | 
| pollutant | pollutant or meteorological variable to plot | 
| stations | measurement stations (either by number or name) to include | 
| interval | plot  | 
| period | time series period | 
| from | start day of time series period (if
 | 
| to | end day of time series period (if  | 
A single pollutant or meteorological variable is
plotted (default is o3): 
o3 (Ozone (O3))
no2 (Nitrogen dioxide (NO2))
so2 (Sulfur dioxide (SO2))
co (Carbon monoxide (CO))
nmvoc (Non-methane volatile organic compounds (NMVOC))
pm10 (Particulate matter (PM10))
pm1 (Particulate matter (PM1))
cpc (Particulate number concentration (CPC))
temp (Temperature (TEMP))
prec (Precipitation (PREC))
rad (Global radiation (RAD))
One or several measurement stations have to be
included (default is to include all 16): 
Bern-Bollwerk
Lausanne-C<c3><a9>sar-Roux
Lugano-Universit<c3><a0>
Z<c3><bc>rich-Kaserne
Basel-Binningen
D<c3><bc>bendorf-Empa
H<c3><a4>rkingen-A1
Sion-A<c3><a9>roport-A9
Magadino-Cadenazzo
Payerne
T<c3><a4>nikon
L<c3><a4>geren
Chaumont
Rigi-Seebodenalp
Davos-Seehornwald
Jungfraujoch
For the time series measurement interval, you have
a choice between hourly and daily means
(default is hourly).
The depicted time period can be the last
day, week, month, or you can
freely choose the period by specifying a start
date with from and an end date with to
(both need to be given in a format that can be converted
to an object of class Date with as.Date() -
e.g. in ISO 8601 format, i.e. YYYY-MM-DD).
none (invisible NULL)
Not all pollutants are measured at all stations.
Thomas Zumbrunn (http://thomas.zumbrunn.name/)
http://www.empa.ch/nabel/ and http://www.bafu.admin.ch/luft/luftbelastung/blick_zurueck/datenabfrage/index.html?lang=en
| 1 2 3 4 5 6 7 8 9 10 11 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.