R tools to access open data from Eurostat. Data search, download, manipulation and visualization.
Install stable version from CRAN:
Alternatively, install development version from GitHub:
# Install from GitHub library(devtools) devtools::install_github("ropengov/eurostat")
Development version can be also installed using the r-universe:
# Enable this universe options(repos = c( ropengov = "https://ropengov.r-universe.dev", CRAN = "https://cloud.r-project.org" )) install.packages("eurostat")
The package provides several different ways to get datasets from Eurostat. Searching for data is one way, if you know what to look for.
title code type last update of data last table structure change data start data end values Air passenger transport enps_avia_pa dataset 16.04.2021 NA 2005 2020 NA Volume of passenger transport relative to GDP tran_hv_pstra dataset 07.07.2021 07.07.2021 1990 2019 NA Modal split of passenger transport tran_hv_psmod dataset 07.07.2021 07.07.2021 1990 2019 NA Air passenger transport by reporting country avia_paoc dataset 02.02.2022 17.01.2022 1993 2021Q3 NA Air passenger transport by main airports in each reporting country avia_paoa dataset 01.02.2022 01.02.2022 1993 2021Q4 NA Air passenger transport between reporting countries avia_paocc dataset 02.02.2022 17.01.2022 1993 2021Q3 NA
# Load the package library(eurostat) # Perform a simple search and print a table passengers <- search_eurostat("passenger transport") knitr::kable(head(passengers))
It is recommended to install the
This is another API package that provides R tools for Eurostat
geographic data to support geospatial analysis and visualization.
Contributions are very welcome:
Kindly cite this package as follows: Leo Lahti, Przemyslaw Biecek, Markus Kainu and Janne Huovari. Retrieval and analysis of Eurostat open data with the eurostat package. R Journal 9(1):385-392, 2017. R package version 3.7.10. DOI: 10.32614/RJ-2017-019. URL: https://ropengov.github.io/eurostat/
This package is in no way officially related to or endorsed by Eurostat.
When using data retrieved from Eurostat database in your work, please indicate that the data source is Eurostat. If your re-use involves some kind of modification to data or text, please state this clearly to the end user. See Eurostat policy on copyright and free re-use of data for more detailed information and certain exceptions.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.