importEurope | R Documentation |
This function is a simplified version of the saqgetr
package (see
https://github.com/skgrange/saqgetr) for accessing European air quality
data. The function only returns valid hourly data and is meant as a fast and
convenient way of accessing the most common type of hourly air quality data.
The function works in the same way as other openair
functions that
import air quality data that generally need a site code and year to be
supplied.
importEurope(
site = "debw118",
year = 2018,
tz = "UTC",
meta = FALSE,
to_narrow = FALSE,
progress = TRUE
)
site |
The code of the site(s). |
year |
Year or years to import. To import a sequence of years from 1990
to 2000 use |
tz |
Not used |
meta |
Should meta data be returned? If |
to_narrow |
By default the returned data has a column for each
pollutant/variable. When |
progress |
Show a progress bar when many sites/years are being imported?
Defaults to |
The function can however return key site meta data.
The saqgetr
package is much more comprehensive and provides data at
other time averages e.g. daily data.
a tibble
Other import functions:
importADMS()
,
importAURN()
,
importKCL()
,
importMeta()
,
importTraj()
,
importUKAQ()
# import data for Stuttgart Am Neckartor (S)
## Not run:
stuttgart <- importEurope("debw118", year = 2010:2019, meta = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.