NEWS
EEAaq 2026-02-10
EEAaq_time_aggregate() and EEAaq_summary() revised: they use
dplyr::reframe() where a group returns more than one row, since dplyr
1.2.0 turned that use of summarise() into an error (GitHub issue #1).
- R-hub workflow for the CRAN checks.
EEAaq 2026-01-21
- Extended vignette (
vignettes/vignettes.Rmd), which downloaded the Milano
example from the EEA service when it was built: the cause of the CRAN
check error that led to the archiving of 1.0.3.
- Station metadata in
Support_files/ updated (stations.rds), with the
city names and codes completed from the EEA Air Quality Statistics viewer
(missing_cities.rds).
EEAaq 2025-03-20
- Maintenance release: revision of the R functions, including the version of
EEAaq_get_data() developed by Samir Doghmi in February 2025.
EEAaq 2025-02-06
- Rewritten for the new EEA Air Quality Download Service, which since the
end of 2024 distributes the data as parquet files through an API: the
measurements are read with arrow and split automatically across the
Airbase, E1a and E2a datasets.
- Stations are selected by their EEA codes (
IDstations), found through
EEAaq_get_stations().
- The metadata (stations, pollutants, NUTS and LAU boundaries) are no longer
stored in the package: they are pre-processed by the maintainers and read
from
Support_files/ in the GitHub repository
(EEAaq_get_dataframe()).
- Samir Doghmi joins the authors.
EEAaq 2023-08-23
EEAaq 2023-07-17
EEAaq 2023-05-29
- First release, developed by Agostino Tassan Mazzocco with Paolo Maranzano
and Riccardo Borgoni (sources and history in
archive/EEAaq-v0/): download
of EEA data by NUTS/LAU zone, bounding box or polygon, station maps,
summaries, time aggregation and IDW interpolation maps.
EEAaq 1.0.4
- Resubmission after the archiving of 1.0.3 by CRAN (2026-08-26). The
vignette is now precomputed: its source (
vignettes/vignettes.Rmd.orig)
is evaluated by the maintainers with dev/precompute-vignette.R, and the
package ships the results and figures, so building it needs no internet.
Its example data, NO2 and PM10 at the stations of the province of Milano
on 1-15 January 2024, are in inst/extdata/vignette_data.rds.
- All the examples need the EEA service or the metadata on GitHub and are
wrapped in
\dontrun{} (the \donttest{} example of
EEAaq_get_stations() included).
EEAaq_get_dataframe() loads the sf namespace before returning the
metadata, whose LAU and NUTS tables hold sf geometries: EEAaq_idw_map()
stopped with a vctrs error ("x must be a vector, not a
<sfc_MULTIPOLYGON> object") when it was the first function to use them in
an R session. The downloaded file is also removed on exit.
- The internal functions that rebuild the metadata no longer touch files
outside their own temporary folder:
get_LAU() and get_stations()
worked in C:/Temp, which get_LAU() deleted on exit, and get_NUTS()
deleted the whole temporary directory of the R session.
- The maintainer e-mail in
DESCRIPTION is again
[email protected].
- The GitHub repository has been reorganised: the package is at the root of
https://github.com/PaoloMaranzano/EEAaq_R, with a README, a logo and the
maintenance scripts in
dev/.
- Links to EEA web pages that do not answer reliably (dd.eionet.europa.eu,
www.eea.europa.eu, discomap.eea.europa.eu) are removed from DESCRIPTION,
README and help pages; the links of the README to the parts of the GitHub
repository that are not in the package are now full URLs.
- A map of the package:
vignette("function-map") and, installed in
inst/extdata/, the diagram of the calls between the functions
(EEAaq_function_map.svg, .pdf) with the complete list of the calls
(EEAaq_function_map.md).