EEAaq_get_dataframe: EEAaq_get_dataframe

View source: R/EEAaq_get_dataframe.R

EEAaq_get_dataframeR Documentation

EEAaq_get_dataframe

Description

Retrieve one of the metadata (i.e., LAU, NUTS, stations, or pollutant) tables from the EEA and Eurostat dataflows. This function downloads and loads one dataset at a time from a predefined list of available datasets. Ensure that the dataset name is written correctly. See details for further details.

Usage

EEAaq_get_dataframe(dataframe = NULL)

Arguments

dataframe

name of the data.frame to retrieve. Select among:

  • 'LAU': data.frame containing metadata information on all the local administrative units (i.e., municipalities) in Europe according to the NUTS nomenclature by Eurostat. Information includes geometries.

  • 'NUTS: data.frame containing metadata information on all the major socio-economic regions in Europe according to the NUTS nomenclature by Eurostat. Information includes geometries.

  • 'stations': data.frame containing metadata information on all the monitoring stations maintained (both currencly active and de-activated) by the EEA and available in EEAaq. Information include: unique identifiers, extended descriptions, and technical details on operations and data collected.

  • 'pollutant': data.frame containing metadata information on all the available pollutants monitored by the EEA and available in EEAaq. Information include: unique identifiers, extended descriptions, and unit of measure.

Details

The function retrieves information from the EEAaq GitHub folder one of the available metadata. Since the end of 2024, the data EEA air quality retrieving dataflow is undergoing a major re-organization. In particular, since January 2025, raw data are accessible only through an online platform/dashboard. While EEAaq is build to explicitly deal with the automatic and constantly-updated system for raw data, the same process is not always possible for the metadata. Indeed, most of the metadata information are updated and require relevant pre-processing (i.e., data manipulation and cleaning) steps to make them consistent with the main database on pollutants concentrations. For this reasons, all the metadata files are periodically pre-processed and updated (on GitHub) by the package maintainers. For issues with the data or code, please contact the development team at pmaranzano.ricercastatistica@gmail.com

Value

a dataframe

Examples


LAU <- EEAaq_get_dataframe(dataframe= "LAU")
pollutant <- EEAaq_get_dataframe(dataframe = "pollutant")
stations <- EEAaq_get_dataframe(dataframe = "stations")
NUTS <- EEAaq_get_dataframe(dataframe = "NUTS")



EEAaq documentation built on April 3, 2025, 11:16 p.m.