
Import air quality data from European database until February 2024
Source:R/importEurope.R
importEurope.RdThis function is a simplified version of the saqgetr package (see
https://github.com/skgrange/saqgetr) for accessing European air quality
data. As saqgetr was retired in February 2024, this function has also been
retired, but can still access European air quality data up until that
retirement date. Consider using the EEA Air Quality Download Service instead
(https://eeadmz1-downloads-webapp.azurewebsites.net/).
Usage
importEurope(
site = "debw118",
year = 2018,
tz = "UTC",
meta = FALSE,
to_narrow = FALSE,
progress = TRUE
)Arguments
- site
The code of the site(s).
- year
Year or years to import. To import a sequence of years from 1990 to 2000 use
year = 1990:2000. To import several specific years useyear = c(1990, 1995, 2000)for example.- tz
Not used
- meta
Should meta data be returned? If
TRUEthe site type, latitude and longitude are returned.- to_narrow
By default the returned data has a column for each pollutant/variable. When
to_narrow = TRUEthe data are stacked into a narrow format with a column identifying the pollutant name.- progress
Show a progress bar when many sites/years are being imported? Defaults to
TRUE.
Value
a tibble
See also
Other import functions:
importADMS(),
importAURN(),
importImperial(),
importMeta(),
importTraj(),
importUKAQ()