Smoking Prevalence By Sex
Eurostat code: sdg_03_30 ยท (2006 - 2023)
@eurostat.sdg_03_30
Eurostat code: sdg_03_30 ยท (2006 - 2023)
@eurostat.sdg_03_30
This Eurostat dataset contains data on smoking prevalence by sex, as collected and published by the Statistical Office of the European Union.
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-03-13T23:00:00+0100
CREATE TABLE raw (
"freq" VARCHAR,
"age" VARCHAR,
"sex" VARCHAR,
"unit" VARCHAR,
"geo" VARCHAR,
"n_2006" DOUBLE -- 2006,
"n_2009" DOUBLE -- 2009,
"n_2012" DOUBLE -- 2012,
"n_2014" DOUBLE -- 2014,
"n_2017" DOUBLE -- 2017,
"n_2020" DOUBLE -- 2020,
"n_2023" DOUBLE -- 2023
);
CREATE TABLE tidy (
"freq" VARCHAR,
"age" VARCHAR,
"sex" VARCHAR,
"unit" VARCHAR,
"geo" VARCHAR,
"time_period" VARCHAR,
"value" DOUBLE
);
Anyone who has the link will be able to view this.