rOG-badge R-CMD-check R-CMD-check (standard) cran version lifecycle DOI codecov Downloads Downloads Gitter r-universe

Watch on GitHub Star on GitHub Follow

eurostat R package

R tools to access open data from Eurostat. Data search, download, manipulation and visualization.

Installation and use

Install stable version from CRAN:


Alternatively, install development version from GitHub:

# Install from GitHub

Development version can be also installed using the r-universe:

# Enable this universe
options(repos = c(
  ropengov = "",
  CRAN = ""


The package provides several different ways to get datasets from Eurostat. Searching for data is one way, if you know what to look for.

# Load the package

# Perform a simple search and print a table
passengers <- search_eurostat("passenger transport")
title code type last update of data last table structure change data start data end values
Air passenger transport enps_avia_pa dataset 10.02.2022 10.02.2022 2005 2020 NA
Modal split of air, sea and inland passenger transport tran_hv_ms_psmod dataset 31.01.2023 NA 2008 2020 NA
Modal split of inland passenger transport tran_hv_psmod dataset 13.07.2022 13.07.2022 1990 2020 NA
Volume of passenger transport relative to GDP tran_hv_pstra dataset 13.07.2022 13.07.2022 1990 2020 NA
Maritime passenger transport performed in the Exclusive Economic Zone (EEZ) of the countries mar_tp_pa dataset 21.02.2023 21.02.2023 2005 2021 NA
Air passenger transport by reporting country avia_paoc dataset 13.02.2023 13.02.2023 1993 2022Q4 NA

See the Tutorial and other resources at the package homepage for more information and examples.

It is recommended to install the giscoR package ( 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.8.2. DOI: 10.32614/RJ-2017-019. URL:

We are grateful to all contributors, including Daniel Antal, Joona Lehtomäki, Francois Briatte, and Oliver Reiter, and for the Eurostat open data portal! This project is part of rOpenGov.


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.