• Stars
    star
    234
  • Rank 171,630 (Top 4 %)
  • Language
    R
  • License
    Other
  • Created over 10 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

R tools for Eurostat data

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:

install.packages("eurostat")

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.

# Load the package
library(eurostat)

# Perform a simple search and print a table
passengers <- search_eurostat("passenger transport")
knitr::kable(head(passengers))
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.

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:

Acknowledgements

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.15. DOI: 10.32614/RJ-2017-019. URL: https://ropengov.github.io/eurostat/

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.

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 for more detailed information and certain exceptions.

More Repositories

1

giscoR

Download geospatial data from GISCO API - Eurostat
R
70
star
2

pxweb

R tools to access PX-WEB API
R
69
star
3

rtimes

R wrapper for NYTimes API for government data - ABANDONED
R
54
star
4

psData

An R package to download regularly maintained political science data sets and make commonly used, but infrequently updated variables based on this data.
R
45
star
5

rsunlight

Interface to APIs previously under Sunlight Labs - ABANDONED
R
42
star
6

dkstat

API connection to the StatBank from Statistics Denmark
R
31
star
7

pollstR

R client for the Pollster API
R
26
star
8

RPublica

ProPublica API Client
R
22
star
9

iotables

Importing and Manipulating Symmetric Input-Output Tables
R
20
star
10

geofi

R package for accessing Finnish geospatial data
R
19
star
11

rwfs

WFS client for R
R
18
star
12

ropengov.github.io

rOpenGov
HTML
17
star
13

enigma

R client for the Enigma.io API - ABANDONED
R
16
star
14

federalregister

R client library for the U.S. Federal Register API
R
15
star
15

rqog

Download data from the Quality of Government Institute data
HTML
15
star
16

sorvi

Algorithms for Finnish open goverment data
R
13
star
17

mpg

Extract U.S. vehicle fuel economy data from FuelEconomy.gov
R
11
star
18

europarl

Tools for European Parliament Data
R
11
star
19

fmi

Finnish Meteorological Institute open data API R client
R
10
star
20

retroharmonize

Retrospective harmonization of survey and categorical data
HTML
10
star
21

fmi2

Reboot of the Finnish Meteorological Institute open data API R client
R
10
star
22

sotkanet

R Tools for the Sotkanet demographics indicator database (covering Finland and Europe)
R
9
star
23

sweidnumbr

R package for Structural handling of identity numbers used in the swedish administration such as personal identity numbers (personnummer) and organizational identity numbers (organisationsnummer).
R
8
star
24

helsinki

R Tools for open data on Helsinki capital region in Finland
R
6
star
25

eurostat_geodata

Geospatial data from Geographical information system of the Commission (GISCO) in RData format
R
5
star
26

rustfare

Algorithms for Russian data
R
5
star
27

usdoj

For Accessing U.S. Department of Justice (DOJ) Open Data
R
5
star
28

poster

Poster sources
TeX
4
star
29

usbroadband

Data for the U.S. National Broadband Map http://www.broadbandmap.gov/
R
4
star
30

guidelines-docs

rOpenGov general guideline documents
4
star
31

statfi

Statistics Finland Open Data R Tools
R
4
star
32

openthl

THL Open Data Interface R package
R
3
star
33

edu

edu: An open framework for creating and assessing exercises for R courses https://ropengov.github.io/edu/
R
3
star
34

recalls

This package is deprecated.
R
3
star
35

oldbailey

For Accessing The Old Bailey Historical Criminal Trials
R
3
star
36

finpar

R client for the unofficial API of the Parliament of Finland (provided by Kansan Muisti)
R
2
star
37

template

rOpenGov minimal package template
R
2
star
38

hetu

Finnish personal identification number (henkilotunnus / hetu) R package
TeX
2
star
39

kelaopendata

Access open data from National social insurance institution of Finland
R
1
star
40

datavaalit

Parliamentary monitoring R tools: Finland
R
1
star
41

ropengov-blog

Reboot of the rOpenGov blog, based on Blogdown
CSS
1
star
42

ropengov.r-universe.dev

Packages for the r-universe of rOpenGov. This repo lists the packages of rOpenGov on json format
1
star
43

rogtemplate

pkgdown template for rOpenGov packages
R
1
star
44

vipunen

R Client Package for Vipunen API
R
1
star
45

Finland-Subscription-Costs

Analysis of the subscription costs paid by Finnish research institutions
HTML
1
star