Baselight

Primary Energy Consumption

Eurostat code: sdg_07_10 ยท (2005 - 2023)

@eurostat.sdg_07_10

Loading...
Loading...

About this Dataset

Primary Energy Consumption

This Eurostat dataset contains data on primary energy consumption, as collected and published by the Statistical Office of the European Union.

Tables included:

  • raw: Original table as downloaded from Eurostat.
  • tidy: A cleaned and transformed version of the raw table, where time period values appear as rows instead of columns (unpivoted format).

Last updated: 2025-07-11T11:00:00+0200

Tables

Primary Energy Consumption - Raw

@eurostat.sdg_07_10.raw
  • 27 KB
  • 114 rows
  • 22 columns
Loading...

CREATE TABLE raw (
  "freq" VARCHAR,
  "unit" VARCHAR,
  "geo" VARCHAR,
  "n_2005" DOUBLE,
  "n_2006" DOUBLE,
  "n_2007" DOUBLE,
  "n_2008" DOUBLE,
  "n_2009" DOUBLE,
  "n_2010" DOUBLE,
  "n_2011" DOUBLE,
  "n_2012" DOUBLE,
  "n_2013" DOUBLE,
  "n_2014" DOUBLE,
  "n_2015" DOUBLE,
  "n_2016" DOUBLE,
  "n_2017" DOUBLE,
  "n_2018" DOUBLE,
  "n_2019" DOUBLE,
  "n_2020" DOUBLE,
  "n_2021" DOUBLE,
  "n_2022" DOUBLE,
  "n_2023" DOUBLE
);

Primary Energy Consumption - Unpivoted

@eurostat.sdg_07_10.tidy
  • 12.22 KB
  • 2113 rows
  • 5 columns
Loading...

CREATE TABLE tidy (
  "freq" VARCHAR,
  "unit" VARCHAR,
  "geo" VARCHAR,
  "time_period" VARCHAR,
  "value" DOUBLE
);

Share link

Anyone who has the link will be able to view this.