statable Statistics for study and research

How do I bring official European figures into the project? (opening data from Eurostat)

In brief

How do I bring official European figures into the project? The start page has "Open Eurostat data". Statable fetches a dataset from Eurostat, the statistical office of the European Union, and opens it as a table. No request goes out before; it happens only on a click.

How it works in Statable

  1. Enter the dataset code, for example une_rt_m (unemployment rate, monthly).
  2. Enter filters, one line per filter: name = value, value (for example geo = AT, DE).
  3. Enter the period from and to, for example 2020-01 and 2024-12.
  4. "Load from Eurostat", look at the preview, then "Open as data".

What goes onto the network

All details

  1. Enter the dataset code, for example une_rt_m (unemployment rate, monthly). The code is given in the Eurostat database. Letters, digits and underscores are allowed, at most 40 characters.
  2. Enter filters, one line per filter, in the form name = value, value (for example geo = AT, DE). Without filters the answer is often too large.
  3. Enter the time range from and until, for example 2020-01 and 2024-12. 2020 or 2020-Q1 are also allowed.
  4. If you like, also load the labels as additional columns (for example "Austria" next to "AT").
  5. "Load from Eurostat", look at the preview and then "Open as data". Loading can be cancelled; after 60 seconds without an answer it ends by itself.

What the table looks like

The data come in long form: one row per combination, one column per dimension (with the code), plus the columns "wert" and "status". With the labels, each dimension gets an additional column ending in _text. A dimension with only one category stays as a column.

Missing values and status

The time column

Months and years are read as a date: a month is shown as the 1st of the month, a year as 1 January; the value applies to the whole period. Quarters (2024-Q1), half-years (2024-S1) and weeks (2024-W05) are not read as a date by Statable; the column stays text. The time series analysis, however, needs a date. In that case choose monthly or yearly data at Eurostat, or build a date column with "Date and time".

Source and licence

The source reference belongs to the data: source Eurostat, the dataset, the date of the request, the data date according to Eurostat and the exact query address. It appears in the log and in the report. Eurostat data may be reused with a source reference; the rules of the European Commission apply.

Trap: Eurostat changes data afterwards

Eurostat can change data afterwards. The date of the request belongs to the result. Anyone who loads again later may get different numbers.

Requirements and limits

Typical examples

For specialists

The Statistics API 1.0 of Eurostat is queried in the format JSON-stat 2.0 (format=JSON; lang=DE, EN or FR according to the language of the app, otherwise EN; time range with sinceTimePeriod and untilTimePeriod). The id and size are read; the last dimension runs fastest, and the position is in category.index, not in the order of the keys. value and status are sparse.

Related

Open in Statable