- Notifications
You must be signed in to change notification settings - Fork51
rOpenGov/eurostat
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
R tools to access open data fromEurostat. Data search, download,manipulation and visualization.
Install stable version from CRAN:
install.packages("eurostat")Alternatively, install development version from GitHub:
# Install from GitHublibrary(devtools)devtools::install_github("ropengov/eurostat")
Development version can be also installed using ther-universe:
# Enable this universeoptions(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 fromEurostat. Searching for data is one way, if you know what to look for.
# Load the packagelibrary(eurostat)# Perform a simple search and print a tablepassengers<- search_eurostat("passenger transport")knitr::kable(head(passengers))
| title | code | type | last.update.of.data | last.table.structure.change | data.start | data.end | values | hierarchy |
|---|---|---|---|---|---|---|---|---|
| Air passenger transport - ENP-South countries | enps_avia_pa | dataset | 12.05.2025 | 12.05.2025 | 2005 | 2023 | 480 | 6 |
| Air passenger transport by type of schedule, transport coverage and country | avia_paoc | dataset | 15.09.2025 | 15.09.2025 | 1993 | 2025-Q2 | 2524910 | 5 |
| Air passenger transport by type of schedule, transport coverage and main airports | avia_paoa | dataset | 15.09.2025 | 15.09.2025 | 1993 | 2025-Q2 | 20609595 | 5 |
| Air passenger transport between reporting and partner countries by type of schedule | avia_paocc | dataset | 15.09.2025 | 15.09.2025 | 1993 | 2025-Q2 | 10518367 | 5 |
| Air passenger transport between main airports and partner reporting countries | avia_paoac | dataset | 15.09.2025 | 15.09.2025 | 1993 | 2025-Q2 | 20189218 | 5 |
| Air passenger transport by aircraft model, distance bands and transport coverage | avia_paodis | dataset | 16.06.2025 | 06.12.2024 | 2008 | 2023 | 852432 | 5 |
See theTutorialand other resources at thepackagehomepage for more information andexamples.
It is recommended to install thegiscoR package(https://dieghernan.github.io/giscoR/). This is another API packagethat provides R tools for Eurostat geographic data to support geospatialanalysis and visualization.
Contributions are very welcome:
- Use issue tracker forfeedback and bug reports.
- Send pull requests
- Star us on the Github page
- Join the discussion inGitter
Kindly cite this work as follows:
print(citation("eurostat"), bibtex = TRUE)Kindly cite this package by citing the following R Journal article: Lahti L., Huovari J., Kainu M., and Biecek P. (2017). Retrieval and analysis of Eurostat open data with the eurostat package. The R Journal 9(1), pp. 385-392. doi: 10.32614/RJ-2017-019A BibTeX entry for LaTeX users is @Article{10.32614/RJ-2017-019, title = {Retrieval and Analysis of Eurostat Open Data with the eurostat Package}, author = {Leo Lahti and Janne Huovari and Markus Kainu and Przemyslaw Biecek}, journal = {The R Journal}, volume = {9}, number = {1}, pages = {385--392}, year = {2017}, doi = {10.32614/RJ-2017-019}, url = {https://doi.org/10.32614/RJ-2017-019}, }In addition, please provide a citation to the specific software versionused: Lahti L, Huovari J, Kainu M, Biecek P, Hernangomez D, Antal D, Kantanen P (2025). "eurostat: Tools for Eurostat Open Data." doi:10.32614/CRAN.package.eurostat <https://doi.org/10.32614/CRAN.package.eurostat>, R package version 4.1.0.9003, <https://github.com/rOpenGov/eurostat>.A BibTeX entry for LaTeX users is @Misc{R-eurostat, title = {eurostat: Tools for Eurostat Open Data}, doi = {10.32614/CRAN.package.eurostat}, author = {Leo Lahti and Janne Huovari and Markus Kainu and Przemyslaw Biecek and Diego Hernangomez and Daniel Antal and Pyry Kantanen}, url = {https://github.com/rOpenGov/eurostat}, type = {Computer software}, year = {2025}, note = {R package version 4.1.0.9003}, }We are grateful to allcontributors,including Daniel Antal, Joona Lehtomäki, Francois Briatte, and OliverReiter, and for theEurostat open dataportal! This project is part ofrOpenGov.
This project has received funding from the European Union under grant No101095295 (OpenMUSE), the FIN-CLARIAH research infrastructure and theStrategic Research Council’s YOUNG program by the Research Council ofFinland (decisions 345630, 358720, 367756, 352604).
This package is in no way officially related to or endorsed by Eurostat.
When using data retrieved from Eurostat database in your work, pleaseindicate that the data source is Eurostat. If your re-use involves somekind of modification to data or text, please state this clearly to theend user. See Eurostat policy oncopyright and free re-use ofdata for moredetailed information and certain exceptions.
About
R tools for Eurostat data
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
