eurostat R package
R tools to access open data from Eurostat, the statistical office of the European Union.
https://github.com/ropengov/eurostat
Category: Sustainable Development
Sub Category: Data Catalogs and Interfaces
Keywords
cran eurostat eurostat-data r r-package ropengov
Keywords from Contributors
health observatory regions data-package finland helsinki helsinki-region sotkanet-data-portal r-universe educational-materials
Last synced: about 23 hours ago
JSON representation
Repository metadata
R tools for Eurostat data
- Host: GitHub
- URL: https://github.com/ropengov/eurostat
- Owner: rOpenGov
- License: other
- Created: 2014-04-21T10:52:20.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2025-11-24T17:56:05.000Z (about 1 month ago)
- Last Synced: 2025-12-20T06:48:45.308Z (7 days ago)
- Topics: cran, eurostat, eurostat-data, r, r-package, ropengov
- Language: R
- Homepage: http://ropengov.github.io/eurostat
- Size: 120 MB
- Stars: 247
- Watchers: 24
- Forks: 51
- Open Issues: 32
- Releases: 5
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
README.Rmd
---
output: github_document
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
[](https://ropengov.org/)
[](https://github.com/rOpenGov/eurostat/actions/workflows/check-full.yaml)
[](https://github.com/rOpenGov/eurostat/actions/workflows/check-standard.yaml)
[](https://CRAN.R-project.org/package=eurostat)
[](https://lifecycle.r-lib.org/articles/stages.html#stable-1)
[](https://doi.org/10.32614/RJ-2017-019)
[](https://app.codecov.io/gh/rOpenGov/eurostat)
[](https://cran.r-project.org/package=eurostat)
[](https://cran.r-project.org/package=eurostat)
[](https://app.gitter.im/#/room/#rOpenGov_eurostat:gitter.im?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[](https://ropengov.r-universe.dev/)
[![Watch on GitHub][github-watch-badge]][github-watch]
[![Star on GitHub][github-star-badge]][github-star]
[](https://twitter.com/ropengov)
# eurostat R package
R tools to access open data from [Eurostat](https://ec.europa.eu/eurostat). Data search, download, manipulation and visualization.
### Installation and use
Install stable version from CRAN:
```{r, eval = FALSE}
install.packages("eurostat")
```
Alternatively, install development version from GitHub:
```{r, eval = FALSE}
# Install from GitHub
library(devtools)
devtools::install_github("ropengov/eurostat")
```
Development version can be also installed using the
[r-universe](https://ropengov.r-universe.dev):
```{r, eval=FALSE}
# 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.
```{r example, eval = TRUE}
# Load the package
library(eurostat)
# Perform a simple search and print a table
passengers <- search_eurostat("passenger transport")
knitr::kable(head(passengers))
```
See the [Tutorial](https://ropengov.github.io/eurostat/articles/articles/eurostat_tutorial.html) and other resources at the [package homepage](https://ropengov.github.io/eurostat/) for more information and examples.
### Recommended packages
It is recommended to install the `giscoR` package (https://dieghernan.github.io/giscoR/). This is another API package that provides R tools for Eurostat geographic data to support geospatial analysis and visualization.
### Contribute
Contributions are very welcome:
* [Use issue tracker](https://github.com/ropengov/eurostat/issues) for feedback and bug reports.
* [Send pull requests](https://github.com/ropengov/eurostat/)
* [Star us on the Github page](https://github.com/ropengov/eurostat/)
* [Join the discussion in Gitter](https://app.gitter.im/#/room/#rOpenGov_eurostat:gitter.im)
### Acknowledgements
**Kindly cite this package** by citing the following R Journal article:
[Lahti L.](https://github.com/antagomir), 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](https://journal.r-project.org/archive/2017/RJ-2017-019/index.html). doi: [10.32614/RJ-2017-019](https://doi.org/10.32614/RJ-2017-019).
In addition, please provide a citation to the specific software version used:
Lahti, L., Huovari J., Kainu M., Biecek P., Hernangomez D., Antal D., and Kantanen P. (2023). eurostat: Tools for Eurostat Open Data [Computer software]. R package version 4.0.0.9003. https://github.com/rOpenGov/eurostat
We are grateful to all [contributors](https://github.com/ropengov/eurostat/graphs/contributors), including Daniel Antal, Joona Lehtomäki, Francois Briatte, and Oliver Reiter, and for the [Eurostat](https://ec.europa.eu/eurostat/) open data portal! This project is part of [rOpenGov](https://ropengov.org).
This project has received funding from the European Union under grant No 101095295 (OpenMUSE), the FIN-CLARIAH research infrastructure and the Strategic Research Council's YOUNG program by the Research Council of Finland (decisions 345630, 358720, 367756, 352604).
### Disclaimer
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](https://ec.europa.eu/eurostat/about/policies/copyright) for more detailed information and certain exceptions.
[license-badge]: https://img.shields.io/npm/l/eurostat.svg?style=flat-square
[license]: https://github.com/ropengov/eurostat/blob/master/LICENSE
[github-watch-badge]: https://img.shields.io/github/watchers/ropengov/eurostat.svg?style=social
[github-watch]: https://github.com/ropengov/eurostat/watchers
[github-star-badge]: https://img.shields.io/github/stars/ropengov/eurostat.svg?style=social
[github-star]: https://github.com/ropengov/eurostat/stargazers
[eurostat]: https://github.com/ropengov/eurostat/
Owner metadata
- Name: rOpenGov
- Login: rOpenGov
- Email:
- Kind: organization
- Description: Open government data analytics with R
- Website: http://ropengov.org
- Location: Finland
- Twitter: ropengov
- Company:
- Icon url: https://avatars.githubusercontent.com/u/5463092?v=4
- Repositories: 60
- Last ynced at: 2024-03-26T05:43:34.767Z
- Profile URL: https://github.com/rOpenGov
GitHub Events
Total
- Issues event: 14
- Watch event: 16
- Delete event: 1
- Issue comment event: 24
- Push event: 21
- Pull request review event: 1
- Pull request review comment event: 1
- Pull request event: 12
- Fork event: 4
- Create event: 2
Last Year
- Issues event: 14
- Watch event: 14
- Delete event: 1
- Issue comment event: 24
- Push event: 19
- Pull request review event: 1
- Pull request review comment event: 1
- Pull request event: 10
- Fork event: 4
- Create event: 2
Committers metadata
Last synced: 4 days ago
Total Commits: 1,175
Total Committers: 28
Avg Commits per committer: 41.964
Development Distribution Score (DDS): 0.517
Commits in past year: 13
Committers in past year: 4
Avg Commits per committer in past year: 3.25
Development Distribution Score (DDS) in past year: 0.308
| Name | Commits | |
|---|---|---|
| antagomir | l****i@i****i | 567 |
| Pyry Kantanen | p****n@g****m | 162 |
| Janne Huovari | j****i@p****i | 117 |
| Daniel Antal | a****l | 64 |
| dieghernan | d****o@g****m | 59 |
| Przemysław Biecek | p****k@g****m | 44 |
| Markus Kainu | m****u@g****m | 42 |
| Markus Kainu | m****i@k****i | 31 |
| Lei | l****i@f****o | 14 |
| Joona Lehtomäki | j****i@g****m | 11 |
| GitHub Actions | a****s@g****m | 11 |
| Markus Kainu | m****u@k****i | 11 |
| ake | 4****3 | 9 |
| Reto Stauffer | r****r@u****t | 5 |
| antagomir | a****r@l****i | 4 |
| Enrico Spinielli | e****i@g****m | 3 |
| François | b****e@g****m | 3 |
| Markus Kainu | m****u@g****m | 3 |
| lei | l****i@s****u | 3 |
| Paul Rougieux | p****x@g****m | 2 |
| dependabot[bot] | 4****] | 2 |
| Oliver Reiter | z****r | 2 |
| annnvv | 1****v | 1 |
| Bates, Colm | C****s@e****t | 1 |
| Elias James Howell | e****l@i****m | 1 |
| Mārtiņš Liberts | m****s@g****m | 1 |
| MDTR-CBS | 5****S | 1 |
| Aleksi Lahtinen | a****t@u****i | 1 |
Committer domains:
- kapsi.fi: 2
- utu.fi: 1
- ecb.int: 1
- uibk.ac.at: 1
- github.com: 1
- ptt.fi: 1
- iki.fi: 1
Issue and Pull Request metadata
Last synced: 10 days ago
Total issues: 225
Total pull requests: 100
Average time to close issues: 6 months
Average time to close pull requests: 7 days
Total issue authors: 95
Total pull request authors: 22
Average comments per issue: 3.98
Average comments per pull request: 1.4
Merged pull request: 83
Bot issues: 0
Bot pull requests: 2
Past year issues: 13
Past year pull requests: 13
Past year average time to close issues: 8 days
Past year average time to close pull requests: 16 days
Past year issue authors: 8
Past year pull request authors: 4
Past year average comments per issue: 0.23
Past year average comments per pull request: 1.38
Past year merged pull request: 4
Past year bot issues: 0
Past year bot pull requests: 1
Top Issue Authors
- antagomir (44)
- jhuovari (33)
- pitkant (19)
- antaldaniel (11)
- rideofyourlife (7)
- muuankarski (4)
- pbiecek (3)
- dieghernan (3)
- jlehtoma (3)
- sweingwifo (2)
- cbizzo (2)
- iNANOV (2)
- jan-dil (2)
- sbacelar (2)
- BERENZ (2)
Top Pull Request Authors
- antaldaniel (25)
- pitkant (19)
- ake123 (12)
- dieghernan (11)
- antagomir (5)
- jhuovari (5)
- wiibaa (3)
- paulrougieux (2)
- Allaht2 (2)
- dependabot[bot] (2)
- jlehtoma (2)
- zauster (2)
- MDTR-CBS (1)
- espinielli (1)
- djhurio (1)
Top Issue Labels
- enhancement (60)
- bug (27)
- help wanted (17)
- question (11)
- documentation (9)
- in progress (4)
- good first issue (2)
- API issues (2)
- duplicate (1)
Top Pull Request Labels
- documentation (2)
- enhancement (2)
- dependencies (2)
- in progress (1)
- github_actions (1)
Package metadata
- Total packages: 3
-
Total downloads:
- cran: 10,473 last-month
- Total docker downloads: 42,869
- Total dependent packages: 8 (may contain duplicates)
- Total dependent repositories: 16 (may contain duplicates)
- Total versions: 36
- Total maintainers: 1
cran.r-project.org: eurostat
Tools for Eurostat Open Data
- Homepage: https://ropengov.github.io/eurostat/
- Documentation: http://cran.r-project.org/web/packages/eurostat/eurostat.pdf
- Licenses: BSD_2_clause + file LICENSE
- Latest release: 4.0.0 (published about 2 years ago)
- Last Synced: 2025-12-22T21:05:21.296Z (4 days ago)
- Versions: 28
- Dependent Packages: 8
- Dependent Repositories: 16
- Downloads: 10,473 Last month
- Docker Downloads: 42,869
-
Rankings:
- Forks count: 1.527%
- Stargazers count: 1.934%
- Docker downloads count: 4.852%
- Average: 4.923%
- Dependent packages count: 6.473%
- Dependent repos count: 7.152%
- Downloads: 7.6%
- Maintainers (1)
proxy.golang.org: github.com/rOpenGov/eurostat
- Homepage:
- Documentation: https://pkg.go.dev/github.com/rOpenGov/eurostat#section-documentation
- Licenses: other
- Latest release: v4.0.0+incompatible (published about 2 years ago)
- Last Synced: 2025-12-22T21:05:22.434Z (4 days ago)
- Versions: 4
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.459%
- Average: 5.642%
- Dependent repos count: 5.825%
proxy.golang.org: github.com/ropengov/eurostat
- Homepage:
- Documentation: https://pkg.go.dev/github.com/ropengov/eurostat#section-documentation
- Licenses: other
- Latest release: v4.0.0+incompatible (published about 2 years ago)
- Last Synced: 2025-12-22T21:05:22.732Z (4 days ago)
- Versions: 4
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.497%
- Average: 5.681%
- Dependent repos count: 5.866%
Dependencies
- R >= 3.1.0 depends
- methods * depends
- RefManageR * imports
- broom * imports
- classInt * imports
- countrycode * imports
- curl * imports
- dplyr * imports
- httr * imports
- jsonlite * imports
- lubridate * imports
- rappdirs * imports
- readr * imports
- regions * imports
- stringi * imports
- stringr * imports
- tibble * imports
- tidyr * imports
- RColorBrewer * suggests
- knitr * suggests
- remotes * suggests
- rmarkdown * suggests
- sf * suggests
- sp * suggests
- testthat >= 3.0.0 suggests
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v2 composite
- r-lib/actions/setup-r v1 composite
- r-lib/actions/setup-r-dependencies v1 composite
- actions/checkout v2 composite
- peter-evans/repository-dispatch v1 composite
- r-lib/actions/setup-pandoc master composite
- r-lib/actions/setup-r master composite
- r-lib/actions/setup-r-dependencies master composite
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- R >= 3.5.0 depends
- methods * depends
- ISOweek * imports
- RefManageR * imports
- broom * imports
- classInt * imports
- countrycode * imports
- curl * imports
- dplyr * imports
- httr * imports
- jsonlite * imports
- lubridate * imports
- rappdirs * imports
- readr * imports
- regions * imports
- stringi * imports
- stringr * imports
- tibble * imports
- tidyr >= 1.0.0 imports
- RColorBrewer * suggests
- knitr * suggests
- remotes * suggests
- rmarkdown * suggests
- sf * suggests
- sp * suggests
- testthat >= 3.0.0 suggests
Score: 19.848532777714986