World Bank Poverty And Inequality Platform (PIP)
@owid.world_bank_pip_legacy
@owid.world_bank_pip_legacy
CREATE TABLE owid_consumption_2011 (
"country" VARCHAR,
"year" INTEGER,
"reporting_level" VARCHAR,
"welfare_type" VARCHAR,
"mean" FLOAT,
"median" FLOAT,
"mld" FLOAT,
"gini" FLOAT,
"polarization" FLOAT,
"decile1_share" FLOAT,
"decile2_share" FLOAT,
"decile3_share" FLOAT,
"decile4_share" FLOAT,
"decile5_share" FLOAT,
"decile6_share" FLOAT,
"decile7_share" FLOAT,
"decile8_share" FLOAT,
"decile9_share" FLOAT,
"decile10_share" FLOAT,
"decile1_thr" FLOAT,
"decile2_thr" FLOAT,
"decile3_thr" FLOAT,
"decile4_thr" FLOAT,
"decile5_thr" FLOAT,
"decile6_thr" FLOAT,
"decile7_thr" FLOAT,
"decile8_thr" FLOAT,
"decile9_thr" FLOAT,
"headcount_40_median" UINTEGER,
"headcount_50_median" UINTEGER,
"headcount_60_median" UINTEGER,
"headcount_ratio_40_median" FLOAT,
"headcount_ratio_50_median" FLOAT,
"headcount_ratio_60_median" FLOAT,
"income_gap_ratio_40_median" FLOAT,
"income_gap_ratio_50_median" FLOAT,
"income_gap_ratio_60_median" FLOAT,
"poverty_gap_index_40_median" FLOAT,
"poverty_gap_index_50_median" FLOAT,
"poverty_gap_index_60_median" FLOAT,
"avg_shortfall_40_median" FLOAT,
"avg_shortfall_50_median" FLOAT,
"avg_shortfall_60_median" FLOAT,
"total_shortfall_40_median" FLOAT,
"total_shortfall_50_median" FLOAT,
"total_shortfall_60_median" FLOAT,
"poverty_severity_40_median" FLOAT,
"poverty_severity_50_median" FLOAT,
"poverty_severity_60_median" FLOAT,
"watts_40_median" FLOAT,
"watts_50_median" FLOAT,
"watts_60_median" FLOAT,
"spl" FLOAT,
"spr" FLOAT,
"headcount_100" UINTEGER,
"headcount_1000" UINTEGER,
"headcount_190" UINTEGER,
"headcount_2000" UINTEGER,
"headcount_3000" UINTEGER,
"headcount_320" UINTEGER,
"headcount_4000" UINTEGER,
"headcount_550" UINTEGER,
"headcount_ratio_100" FLOAT,
"headcount_ratio_1000" FLOAT,
"headcount_ratio_190" FLOAT,
"headcount_ratio_2000" FLOAT,
"headcount_ratio_3000" FLOAT,
"headcount_ratio_320" FLOAT,
"headcount_ratio_4000" FLOAT,
"headcount_ratio_550" FLOAT,
"income_gap_ratio_100" FLOAT,
"income_gap_ratio_1000" FLOAT,
"income_gap_ratio_190" FLOAT,
"income_gap_ratio_2000" FLOAT,
"income_gap_ratio_3000" FLOAT,
"income_gap_ratio_320" FLOAT,
"income_gap_ratio_4000" FLOAT,
"income_gap_ratio_550" FLOAT,
"poverty_gap_index_100" FLOAT,
"poverty_gap_index_1000" FLOAT,
"poverty_gap_index_190" FLOAT,
"poverty_gap_index_2000" FLOAT,
"poverty_gap_index_3000" FLOAT,
"poverty_gap_index_320" FLOAT,
"poverty_gap_index_4000" FLOAT,
"poverty_gap_index_550" FLOAT,
"avg_shortfall_100" FLOAT,
"avg_shortfall_1000" FLOAT,
"avg_shortfall_190" FLOAT,
"avg_shortfall_2000" FLOAT,
"avg_shortfall_3000" FLOAT,
"avg_shortfall_320" FLOAT,
"avg_shortfall_4000" FLOAT,
"avg_shortfall_550" FLOAT,
"total_shortfall_100" FLOAT,
"total_shortfall_1000" BIGINT,
"total_shortfall_190" FLOAT,
"total_shortfall_2000" BIGINT,
"total_shortfall_3000" BIGINT,
"total_shortfall_320" FLOAT
);
CREATE TABLE owid_consumption_2011_2017 (
"country" VARCHAR,
"year" INTEGER,
"headcount_100_ppp2011" UINTEGER,
"headcount_190_ppp2011" UINTEGER,
"headcount_320_ppp2011" UINTEGER,
"headcount_550_ppp2011" UINTEGER,
"headcount_1000_ppp2011" UINTEGER,
"headcount_2000_ppp2011" UINTEGER,
"headcount_3000_ppp2011" UINTEGER,
"headcount_4000_ppp2011" UINTEGER,
"headcount_ratio_100_ppp2011" FLOAT,
"headcount_ratio_190_ppp2011" FLOAT,
"headcount_ratio_320_ppp2011" FLOAT,
"headcount_ratio_550_ppp2011" FLOAT,
"headcount_ratio_1000_ppp2011" FLOAT,
"headcount_ratio_2000_ppp2011" FLOAT,
"headcount_ratio_3000_ppp2011" FLOAT,
"headcount_ratio_4000_ppp2011" FLOAT,
"headcount_40_median_ppp2011" UINTEGER,
"headcount_50_median_ppp2011" UINTEGER,
"headcount_60_median_ppp2011" UINTEGER,
"headcount_ratio_40_median_ppp2011" FLOAT,
"headcount_ratio_50_median_ppp2011" FLOAT,
"headcount_ratio_60_median_ppp2011" FLOAT,
"mean_ppp2011" FLOAT,
"median_ppp2011" FLOAT,
"decile1_thr_ppp2011" FLOAT,
"decile9_thr_ppp2011" FLOAT,
"headcount_100_ppp2017" UINTEGER,
"headcount_215_ppp2017" UINTEGER,
"headcount_365_ppp2017" UINTEGER,
"headcount_685_ppp2017" UINTEGER,
"headcount_1000_ppp2017" UINTEGER,
"headcount_2000_ppp2017" UINTEGER,
"headcount_3000_ppp2017" UINTEGER,
"headcount_4000_ppp2017" UINTEGER,
"headcount_ratio_100_ppp2017" FLOAT,
"headcount_ratio_215_ppp2017" FLOAT,
"headcount_ratio_365_ppp2017" FLOAT,
"headcount_ratio_685_ppp2017" FLOAT,
"headcount_ratio_1000_ppp2017" FLOAT,
"headcount_ratio_2000_ppp2017" FLOAT,
"headcount_ratio_3000_ppp2017" FLOAT,
"headcount_ratio_4000_ppp2017" FLOAT,
"headcount_40_median_ppp2017" UINTEGER,
"headcount_50_median_ppp2017" UINTEGER,
"headcount_60_median_ppp2017" UINTEGER,
"headcount_ratio_40_median_ppp2017" FLOAT,
"headcount_ratio_50_median_ppp2017" FLOAT,
"headcount_ratio_60_median_ppp2017" FLOAT,
"mean_ppp2017" FLOAT,
"median_ppp2017" FLOAT,
"decile1_thr_ppp2017" FLOAT,
"decile9_thr_ppp2017" FLOAT
);
CREATE TABLE owid_consumption_2017 (
"country" VARCHAR,
"year" INTEGER,
"reporting_level" VARCHAR,
"welfare_type" VARCHAR,
"mean" FLOAT,
"median" FLOAT,
"mld" FLOAT,
"gini" FLOAT,
"polarization" FLOAT,
"decile1_share" FLOAT,
"decile2_share" FLOAT,
"decile3_share" FLOAT,
"decile4_share" FLOAT,
"decile5_share" FLOAT,
"decile6_share" FLOAT,
"decile7_share" FLOAT,
"decile8_share" FLOAT,
"decile9_share" FLOAT,
"decile10_share" FLOAT,
"decile1_thr" FLOAT,
"decile2_thr" FLOAT,
"decile3_thr" FLOAT,
"decile4_thr" FLOAT,
"decile5_thr" FLOAT,
"decile6_thr" FLOAT,
"decile7_thr" FLOAT,
"decile8_thr" FLOAT,
"decile9_thr" FLOAT,
"headcount_40_median" UINTEGER,
"headcount_50_median" UINTEGER,
"headcount_60_median" UINTEGER,
"headcount_ratio_40_median" FLOAT,
"headcount_ratio_50_median" FLOAT,
"headcount_ratio_60_median" FLOAT,
"income_gap_ratio_40_median" FLOAT,
"income_gap_ratio_50_median" FLOAT,
"income_gap_ratio_60_median" FLOAT,
"poverty_gap_index_40_median" FLOAT,
"poverty_gap_index_50_median" FLOAT,
"poverty_gap_index_60_median" FLOAT,
"avg_shortfall_40_median" FLOAT,
"avg_shortfall_50_median" FLOAT,
"avg_shortfall_60_median" FLOAT,
"total_shortfall_40_median" FLOAT,
"total_shortfall_50_median" FLOAT,
"total_shortfall_60_median" FLOAT,
"poverty_severity_40_median" FLOAT,
"poverty_severity_50_median" FLOAT,
"poverty_severity_60_median" FLOAT,
"watts_40_median" FLOAT,
"watts_50_median" FLOAT,
"watts_60_median" FLOAT,
"spl" FLOAT,
"spr" FLOAT,
"pg" FLOAT,
"headcount_100" UINTEGER,
"headcount_1000" UINTEGER,
"headcount_2000" UINTEGER,
"headcount_215" UINTEGER,
"headcount_3000" UINTEGER,
"headcount_365" UINTEGER,
"headcount_4000" UINTEGER,
"headcount_685" UINTEGER,
"headcount_ratio_100" FLOAT,
"headcount_ratio_1000" FLOAT,
"headcount_ratio_2000" FLOAT,
"headcount_ratio_215" FLOAT,
"headcount_ratio_3000" FLOAT,
"headcount_ratio_365" FLOAT,
"headcount_ratio_4000" FLOAT,
"headcount_ratio_685" FLOAT,
"income_gap_ratio_100" FLOAT,
"income_gap_ratio_1000" FLOAT,
"income_gap_ratio_2000" FLOAT,
"income_gap_ratio_215" FLOAT,
"income_gap_ratio_3000" FLOAT,
"income_gap_ratio_365" FLOAT,
"income_gap_ratio_4000" FLOAT,
"income_gap_ratio_685" FLOAT,
"poverty_gap_index_100" FLOAT,
"poverty_gap_index_1000" FLOAT,
"poverty_gap_index_2000" FLOAT,
"poverty_gap_index_215" FLOAT,
"poverty_gap_index_3000" FLOAT,
"poverty_gap_index_365" FLOAT,
"poverty_gap_index_4000" FLOAT,
"poverty_gap_index_685" FLOAT,
"avg_shortfall_100" FLOAT,
"avg_shortfall_1000" FLOAT,
"avg_shortfall_2000" FLOAT,
"avg_shortfall_215" FLOAT,
"avg_shortfall_3000" FLOAT,
"avg_shortfall_365" FLOAT,
"avg_shortfall_4000" FLOAT,
"avg_shortfall_685" FLOAT,
"total_shortfall_100" FLOAT,
"total_shortfall_1000" FLOAT,
"total_shortfall_2000" BIGINT,
"total_shortfall_215" FLOAT,
"total_shortfall_3000" BIGINT
);
CREATE TABLE owid_consumption_2017_avg_shortfall_100 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_avg_shortfall_1000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_avg_shortfall_2000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_avg_shortfall_215 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_avg_shortfall_3000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_avg_shortfall_365 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_avg_shortfall_4000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_avg_shortfall_40_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_avg_shortfall_50_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_avg_shortfall_60_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_avg_shortfall_685 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_bottom50_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile10_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile10_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile1_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile1_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile1_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile2_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile2_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile2_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile3_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile3_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile3_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile4_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile4_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile4_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile5_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile5_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile5_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile6_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile6_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile6_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile7_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile7_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile7_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile8_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile8_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile8_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile9_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile9_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_decile9_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_gini (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_headcount_100 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_headcount_1000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_headcount_2000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_headcount_215 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_headcount_3000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_headcount_365 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_headcount_4000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_headcount_40_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_headcount_50_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_headcount_60_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_headcount_685 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_headcount_ratio_100 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_headcount_ratio_1000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_headcount_ratio_2000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_headcount_ratio_215 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_headcount_ratio_3000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_headcount_ratio_365 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_headcount_ratio_4000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_headcount_ratio_40_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_headcount_ratio_50_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_headcount_ratio_60_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_headcount_ratio_685 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_income_gap_ratio_100 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_income_gap_ratio_1000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_income_gap_ratio_2000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_income_gap_ratio_215 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_income_gap_ratio_3000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_income_gap_ratio_365 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_income_gap_ratio_4000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_income_gap_ratio_40_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_income_gap_ratio_50_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_income_gap_ratio_60_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_income_gap_ratio_685 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_mean (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_middle40_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_mld (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_p50_p10_ratio (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_p90_p10_ratio (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_p90_p50_ratio (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_palma_ratio (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_pg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_polarization (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_poverty_gap_index_100 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_poverty_gap_index_1000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_poverty_gap_index_2000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_poverty_gap_index_215 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_poverty_gap_index_3000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_poverty_gap_index_365 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_poverty_gap_index_4000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_poverty_gap_index_40_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_poverty_gap_index_50_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_poverty_gap_index_60_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_poverty_gap_index_685 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_s80_s20_ratio (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_spl (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_spr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_top1_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_top1_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_top1_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_top90_99_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_total_shortfall_100 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT
);
CREATE TABLE owid_consumption_2017_total_shortfall_1000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" BIGINT,
"consumption_spell_3" BIGINT,
"consumption_spell_4" BIGINT,
"consumption_spell_5" BIGINT,
"consumption_spell_6" BIGINT,
"consumption_spell_7" BIGINT
);
CREATE TABLE owid_consumption_2017_total_shortfall_2000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" BIGINT,
"consumption_spell_2" BIGINT,
"consumption_spell_3" BIGINT,
"consumption_spell_4" BIGINT,
"consumption_spell_5" BIGINT,
"consumption_spell_6" BIGINT,
"consumption_spell_7" BIGINT
);
CREATE TABLE owid_consumption_2017_total_shortfall_215 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_total_shortfall_3000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" BIGINT,
"consumption_spell_2" BIGINT,
"consumption_spell_3" BIGINT,
"consumption_spell_4" BIGINT,
"consumption_spell_5" BIGINT,
"consumption_spell_6" BIGINT,
"consumption_spell_7" BIGINT
);
CREATE TABLE owid_consumption_2017_total_shortfall_365 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_total_shortfall_4000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" BIGINT,
"consumption_spell_2" BIGINT,
"consumption_spell_3" BIGINT,
"consumption_spell_4" BIGINT,
"consumption_spell_5" BIGINT,
"consumption_spell_6" BIGINT,
"consumption_spell_7" BIGINT
);
CREATE TABLE owid_consumption_2017_total_shortfall_40_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_total_shortfall_50_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_total_shortfall_60_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_consumption_2017_total_shortfall_685 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" BIGINT,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER
);
CREATE TABLE owid_income_2011 (
"country" VARCHAR,
"year" INTEGER,
"reporting_level" VARCHAR,
"welfare_type" VARCHAR,
"mean" FLOAT,
"median" FLOAT,
"mld" FLOAT,
"gini" FLOAT,
"polarization" FLOAT,
"decile1_share" FLOAT,
"decile2_share" FLOAT,
"decile3_share" FLOAT,
"decile4_share" FLOAT,
"decile5_share" FLOAT,
"decile6_share" FLOAT,
"decile7_share" FLOAT,
"decile8_share" FLOAT,
"decile9_share" FLOAT,
"decile10_share" FLOAT,
"decile1_thr" FLOAT,
"decile2_thr" FLOAT,
"decile3_thr" FLOAT,
"decile4_thr" FLOAT,
"decile5_thr" FLOAT,
"decile6_thr" FLOAT,
"decile7_thr" FLOAT,
"decile8_thr" FLOAT,
"decile9_thr" FLOAT,
"headcount_40_median" UINTEGER,
"headcount_50_median" UINTEGER,
"headcount_60_median" UINTEGER,
"headcount_ratio_40_median" FLOAT,
"headcount_ratio_50_median" FLOAT,
"headcount_ratio_60_median" FLOAT,
"income_gap_ratio_40_median" FLOAT,
"income_gap_ratio_50_median" FLOAT,
"income_gap_ratio_60_median" FLOAT,
"poverty_gap_index_40_median" FLOAT,
"poverty_gap_index_50_median" FLOAT,
"poverty_gap_index_60_median" FLOAT,
"avg_shortfall_40_median" FLOAT,
"avg_shortfall_50_median" FLOAT,
"avg_shortfall_60_median" FLOAT,
"total_shortfall_40_median" FLOAT,
"total_shortfall_50_median" FLOAT,
"total_shortfall_60_median" FLOAT,
"poverty_severity_40_median" FLOAT,
"poverty_severity_50_median" FLOAT,
"poverty_severity_60_median" FLOAT,
"watts_40_median" FLOAT,
"watts_50_median" FLOAT,
"watts_60_median" FLOAT,
"spl" FLOAT,
"spr" FLOAT,
"headcount_100" UINTEGER,
"headcount_1000" UINTEGER,
"headcount_190" UINTEGER,
"headcount_2000" UINTEGER,
"headcount_3000" UINTEGER,
"headcount_320" UINTEGER,
"headcount_4000" UINTEGER,
"headcount_550" UINTEGER,
"headcount_ratio_100" FLOAT,
"headcount_ratio_1000" FLOAT,
"headcount_ratio_190" FLOAT,
"headcount_ratio_2000" FLOAT,
"headcount_ratio_3000" FLOAT,
"headcount_ratio_320" FLOAT,
"headcount_ratio_4000" FLOAT,
"headcount_ratio_550" FLOAT,
"income_gap_ratio_100" FLOAT,
"income_gap_ratio_1000" FLOAT,
"income_gap_ratio_190" FLOAT,
"income_gap_ratio_2000" FLOAT,
"income_gap_ratio_3000" FLOAT,
"income_gap_ratio_320" FLOAT,
"income_gap_ratio_4000" FLOAT,
"income_gap_ratio_550" FLOAT,
"poverty_gap_index_100" FLOAT,
"poverty_gap_index_1000" FLOAT,
"poverty_gap_index_190" FLOAT,
"poverty_gap_index_2000" FLOAT,
"poverty_gap_index_3000" FLOAT,
"poverty_gap_index_320" FLOAT,
"poverty_gap_index_4000" FLOAT,
"poverty_gap_index_550" FLOAT,
"avg_shortfall_100" FLOAT,
"avg_shortfall_1000" FLOAT,
"avg_shortfall_190" FLOAT,
"avg_shortfall_2000" FLOAT,
"avg_shortfall_3000" FLOAT,
"avg_shortfall_320" FLOAT,
"avg_shortfall_4000" FLOAT,
"avg_shortfall_550" FLOAT,
"total_shortfall_100" FLOAT,
"total_shortfall_1000" FLOAT,
"total_shortfall_190" FLOAT,
"total_shortfall_2000" FLOAT,
"total_shortfall_3000" BIGINT,
"total_shortfall_320" FLOAT
);
CREATE TABLE owid_income_2011_2017 (
"country" VARCHAR,
"year" INTEGER,
"headcount_100_ppp2011" UINTEGER,
"headcount_190_ppp2011" UINTEGER,
"headcount_320_ppp2011" UINTEGER,
"headcount_550_ppp2011" UINTEGER,
"headcount_1000_ppp2011" UINTEGER,
"headcount_2000_ppp2011" UINTEGER,
"headcount_3000_ppp2011" UINTEGER,
"headcount_4000_ppp2011" UINTEGER,
"headcount_ratio_100_ppp2011" FLOAT,
"headcount_ratio_190_ppp2011" FLOAT,
"headcount_ratio_320_ppp2011" FLOAT,
"headcount_ratio_550_ppp2011" FLOAT,
"headcount_ratio_1000_ppp2011" FLOAT,
"headcount_ratio_2000_ppp2011" FLOAT,
"headcount_ratio_3000_ppp2011" FLOAT,
"headcount_ratio_4000_ppp2011" FLOAT,
"headcount_40_median_ppp2011" UINTEGER,
"headcount_50_median_ppp2011" UINTEGER,
"headcount_60_median_ppp2011" UINTEGER,
"headcount_ratio_40_median_ppp2011" FLOAT,
"headcount_ratio_50_median_ppp2011" FLOAT,
"headcount_ratio_60_median_ppp2011" FLOAT,
"mean_ppp2011" FLOAT,
"median_ppp2011" FLOAT,
"decile1_thr_ppp2011" FLOAT,
"decile9_thr_ppp2011" FLOAT,
"headcount_100_ppp2017" UINTEGER,
"headcount_215_ppp2017" UINTEGER,
"headcount_365_ppp2017" UINTEGER,
"headcount_685_ppp2017" UINTEGER,
"headcount_1000_ppp2017" UINTEGER,
"headcount_2000_ppp2017" UINTEGER,
"headcount_3000_ppp2017" UINTEGER,
"headcount_4000_ppp2017" UINTEGER,
"headcount_ratio_100_ppp2017" FLOAT,
"headcount_ratio_215_ppp2017" FLOAT,
"headcount_ratio_365_ppp2017" FLOAT,
"headcount_ratio_685_ppp2017" FLOAT,
"headcount_ratio_1000_ppp2017" FLOAT,
"headcount_ratio_2000_ppp2017" FLOAT,
"headcount_ratio_3000_ppp2017" FLOAT,
"headcount_ratio_4000_ppp2017" FLOAT,
"headcount_40_median_ppp2017" UINTEGER,
"headcount_50_median_ppp2017" UINTEGER,
"headcount_60_median_ppp2017" UINTEGER,
"headcount_ratio_40_median_ppp2017" FLOAT,
"headcount_ratio_50_median_ppp2017" FLOAT,
"headcount_ratio_60_median_ppp2017" FLOAT,
"mean_ppp2017" FLOAT,
"median_ppp2017" FLOAT,
"decile1_thr_ppp2017" FLOAT,
"decile9_thr_ppp2017" FLOAT
);
CREATE TABLE owid_income_2017 (
"country" VARCHAR,
"year" INTEGER,
"reporting_level" VARCHAR,
"welfare_type" VARCHAR,
"mean" FLOAT,
"median" FLOAT,
"mld" FLOAT,
"gini" FLOAT,
"polarization" FLOAT,
"decile1_share" FLOAT,
"decile2_share" FLOAT,
"decile3_share" FLOAT,
"decile4_share" FLOAT,
"decile5_share" FLOAT,
"decile6_share" FLOAT,
"decile7_share" FLOAT,
"decile8_share" FLOAT,
"decile9_share" FLOAT,
"decile10_share" FLOAT,
"decile1_thr" FLOAT,
"decile2_thr" FLOAT,
"decile3_thr" FLOAT,
"decile4_thr" FLOAT,
"decile5_thr" FLOAT,
"decile6_thr" FLOAT,
"decile7_thr" FLOAT,
"decile8_thr" FLOAT,
"decile9_thr" FLOAT,
"headcount_40_median" UINTEGER,
"headcount_50_median" UINTEGER,
"headcount_60_median" UINTEGER,
"headcount_ratio_40_median" FLOAT,
"headcount_ratio_50_median" FLOAT,
"headcount_ratio_60_median" FLOAT,
"income_gap_ratio_40_median" FLOAT,
"income_gap_ratio_50_median" FLOAT,
"income_gap_ratio_60_median" FLOAT,
"poverty_gap_index_40_median" FLOAT,
"poverty_gap_index_50_median" FLOAT,
"poverty_gap_index_60_median" FLOAT,
"avg_shortfall_40_median" FLOAT,
"avg_shortfall_50_median" FLOAT,
"avg_shortfall_60_median" FLOAT,
"total_shortfall_40_median" FLOAT,
"total_shortfall_50_median" FLOAT,
"total_shortfall_60_median" FLOAT,
"poverty_severity_40_median" FLOAT,
"poverty_severity_50_median" FLOAT,
"poverty_severity_60_median" FLOAT,
"watts_40_median" FLOAT,
"watts_50_median" FLOAT,
"watts_60_median" FLOAT,
"spl" FLOAT,
"spr" FLOAT,
"pg" FLOAT,
"headcount_100" UINTEGER,
"headcount_1000" UINTEGER,
"headcount_2000" UINTEGER,
"headcount_215" UINTEGER,
"headcount_3000" UINTEGER,
"headcount_365" UINTEGER,
"headcount_4000" UINTEGER,
"headcount_685" UINTEGER,
"headcount_ratio_100" FLOAT,
"headcount_ratio_1000" FLOAT,
"headcount_ratio_2000" FLOAT,
"headcount_ratio_215" FLOAT,
"headcount_ratio_3000" FLOAT,
"headcount_ratio_365" FLOAT,
"headcount_ratio_4000" FLOAT,
"headcount_ratio_685" FLOAT,
"income_gap_ratio_100" FLOAT,
"income_gap_ratio_1000" FLOAT,
"income_gap_ratio_2000" FLOAT,
"income_gap_ratio_215" FLOAT,
"income_gap_ratio_3000" FLOAT,
"income_gap_ratio_365" FLOAT,
"income_gap_ratio_4000" FLOAT,
"income_gap_ratio_685" FLOAT,
"poverty_gap_index_100" FLOAT,
"poverty_gap_index_1000" FLOAT,
"poverty_gap_index_2000" FLOAT,
"poverty_gap_index_215" FLOAT,
"poverty_gap_index_3000" FLOAT,
"poverty_gap_index_365" FLOAT,
"poverty_gap_index_4000" FLOAT,
"poverty_gap_index_685" FLOAT,
"avg_shortfall_100" FLOAT,
"avg_shortfall_1000" FLOAT,
"avg_shortfall_2000" FLOAT,
"avg_shortfall_215" FLOAT,
"avg_shortfall_3000" FLOAT,
"avg_shortfall_365" FLOAT,
"avg_shortfall_4000" FLOAT,
"avg_shortfall_685" FLOAT,
"total_shortfall_100" FLOAT,
"total_shortfall_1000" FLOAT,
"total_shortfall_2000" FLOAT,
"total_shortfall_215" FLOAT,
"total_shortfall_3000" BIGINT
);
CREATE TABLE owid_income_2017_avg_shortfall_100 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_avg_shortfall_1000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_avg_shortfall_2000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_avg_shortfall_215 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_avg_shortfall_3000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_avg_shortfall_365 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_avg_shortfall_4000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_avg_shortfall_40_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_avg_shortfall_50_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_avg_shortfall_60_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_avg_shortfall_685 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_bottom50_share (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile10_avg (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile10_share (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile1_avg (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile1_share (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile1_thr (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile2_avg (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile2_share (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile2_thr (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile3_avg (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile3_share (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile3_thr (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile4_avg (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile4_share (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile4_thr (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile5_avg (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile5_share (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile5_thr (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile6_avg (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile6_share (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile6_thr (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile7_avg (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile7_share (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile7_thr (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile8_avg (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile8_share (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile8_thr (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile9_avg (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile9_share (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_decile9_thr (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_gini (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_headcount_100 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_headcount_1000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_headcount_2000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_headcount_215 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_headcount_3000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_headcount_365 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_headcount_4000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_headcount_40_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_headcount_50_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_headcount_60_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_headcount_685 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_headcount_ratio_100 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_headcount_ratio_1000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_headcount_ratio_2000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_headcount_ratio_215 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_headcount_ratio_3000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_headcount_ratio_365 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_headcount_ratio_4000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_headcount_ratio_40_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_headcount_ratio_50_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_headcount_ratio_60_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_headcount_ratio_685 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_income_gap_ratio_100 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_income_gap_ratio_1000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_income_gap_ratio_2000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_income_gap_ratio_215 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_income_gap_ratio_3000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_income_gap_ratio_365 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_income_gap_ratio_4000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_income_gap_ratio_40_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_income_gap_ratio_50_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_income_gap_ratio_60_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_income_gap_ratio_685 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_mean (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_middle40_share (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_mld (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_p50_p10_ratio (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_p90_p10_ratio (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_p90_p50_ratio (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_palma_ratio (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_pg (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_polarization (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_poverty_gap_index_100 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_poverty_gap_index_1000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_poverty_gap_index_2000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_poverty_gap_index_215 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_poverty_gap_index_3000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_poverty_gap_index_365 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_poverty_gap_index_4000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_poverty_gap_index_40_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_poverty_gap_index_50_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_poverty_gap_index_60_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_poverty_gap_index_685 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_s80_s20_ratio (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_spl (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_spr (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_top1_avg (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_top1_share (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_top1_thr (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_top90_99_share (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_total_shortfall_100 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_2017_total_shortfall_1000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" UINTEGER,
"income_spell_4" FLOAT,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_total_shortfall_2000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_total_shortfall_215 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_total_shortfall_3000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" BIGINT,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_total_shortfall_365 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_total_shortfall_4000 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" BIGINT,
"income_spell_2" BIGINT,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_total_shortfall_40_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_total_shortfall_50_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" UINTEGER,
"income_spell_3" FLOAT,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_total_shortfall_60_median (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" UINTEGER,
"income_spell_3" FLOAT,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_2017_total_shortfall_685 (
"country" VARCHAR,
"year" INTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2011 (
"country" VARCHAR,
"year" INTEGER,
"reporting_level" VARCHAR,
"welfare_type" VARCHAR,
"mean" FLOAT,
"median" FLOAT,
"mld" FLOAT,
"gini" FLOAT,
"polarization" FLOAT,
"decile1_share" FLOAT,
"decile2_share" FLOAT,
"decile3_share" FLOAT,
"decile4_share" FLOAT,
"decile5_share" FLOAT,
"decile6_share" FLOAT,
"decile7_share" FLOAT,
"decile8_share" FLOAT,
"decile9_share" FLOAT,
"decile10_share" FLOAT,
"decile1_thr" FLOAT,
"decile2_thr" FLOAT,
"decile3_thr" FLOAT,
"decile4_thr" FLOAT,
"decile5_thr" FLOAT,
"decile6_thr" FLOAT,
"decile7_thr" FLOAT,
"decile8_thr" FLOAT,
"decile9_thr" FLOAT,
"headcount_40_median" UINTEGER,
"headcount_50_median" UINTEGER,
"headcount_60_median" UINTEGER,
"headcount_ratio_40_median" FLOAT,
"headcount_ratio_50_median" FLOAT,
"headcount_ratio_60_median" FLOAT,
"income_gap_ratio_40_median" FLOAT,
"income_gap_ratio_50_median" FLOAT,
"income_gap_ratio_60_median" FLOAT,
"poverty_gap_index_40_median" FLOAT,
"poverty_gap_index_50_median" FLOAT,
"poverty_gap_index_60_median" FLOAT,
"avg_shortfall_40_median" FLOAT,
"avg_shortfall_50_median" FLOAT,
"avg_shortfall_60_median" FLOAT,
"total_shortfall_40_median" FLOAT,
"total_shortfall_50_median" FLOAT,
"total_shortfall_60_median" FLOAT,
"poverty_severity_40_median" FLOAT,
"poverty_severity_50_median" FLOAT,
"poverty_severity_60_median" FLOAT,
"watts_40_median" FLOAT,
"watts_50_median" FLOAT,
"watts_60_median" FLOAT,
"spl" FLOAT,
"spr" FLOAT,
"headcount_100" UINTEGER,
"headcount_1000" BIGINT,
"headcount_190" UINTEGER,
"headcount_2000" BIGINT,
"headcount_3000" BIGINT,
"headcount_320" UINTEGER,
"headcount_4000" BIGINT,
"headcount_550" UINTEGER,
"headcount_ratio_100" FLOAT,
"headcount_ratio_1000" FLOAT,
"headcount_ratio_190" FLOAT,
"headcount_ratio_2000" FLOAT,
"headcount_ratio_3000" FLOAT,
"headcount_ratio_320" FLOAT,
"headcount_ratio_4000" FLOAT,
"headcount_ratio_550" FLOAT,
"income_gap_ratio_100" FLOAT,
"income_gap_ratio_1000" FLOAT,
"income_gap_ratio_190" FLOAT,
"income_gap_ratio_2000" FLOAT,
"income_gap_ratio_3000" FLOAT,
"income_gap_ratio_320" FLOAT,
"income_gap_ratio_4000" FLOAT,
"income_gap_ratio_550" FLOAT,
"poverty_gap_index_100" FLOAT,
"poverty_gap_index_1000" FLOAT,
"poverty_gap_index_190" FLOAT,
"poverty_gap_index_2000" FLOAT,
"poverty_gap_index_3000" FLOAT,
"poverty_gap_index_320" FLOAT,
"poverty_gap_index_4000" FLOAT,
"poverty_gap_index_550" FLOAT,
"avg_shortfall_100" FLOAT,
"avg_shortfall_1000" FLOAT,
"avg_shortfall_190" FLOAT,
"avg_shortfall_2000" FLOAT,
"avg_shortfall_3000" FLOAT,
"avg_shortfall_320" FLOAT,
"avg_shortfall_4000" FLOAT,
"avg_shortfall_550" FLOAT,
"total_shortfall_100" FLOAT,
"total_shortfall_1000" FLOAT,
"total_shortfall_190" FLOAT,
"total_shortfall_2000" FLOAT,
"total_shortfall_3000" BIGINT,
"total_shortfall_320" FLOAT
);
CREATE TABLE owid_income_consumption_2011_2017 (
"country" VARCHAR,
"year" INTEGER,
"headcount_100_ppp2011" UINTEGER,
"headcount_190_ppp2011" UINTEGER,
"headcount_320_ppp2011" UINTEGER,
"headcount_550_ppp2011" UINTEGER,
"headcount_1000_ppp2011" BIGINT,
"headcount_2000_ppp2011" BIGINT,
"headcount_3000_ppp2011" BIGINT,
"headcount_4000_ppp2011" BIGINT,
"headcount_ratio_100_ppp2011" FLOAT,
"headcount_ratio_190_ppp2011" FLOAT,
"headcount_ratio_320_ppp2011" FLOAT,
"headcount_ratio_550_ppp2011" FLOAT,
"headcount_ratio_1000_ppp2011" FLOAT,
"headcount_ratio_2000_ppp2011" FLOAT,
"headcount_ratio_3000_ppp2011" FLOAT,
"headcount_ratio_4000_ppp2011" FLOAT,
"headcount_40_median_ppp2011" UINTEGER,
"headcount_50_median_ppp2011" UINTEGER,
"headcount_60_median_ppp2011" UINTEGER,
"headcount_ratio_40_median_ppp2011" FLOAT,
"headcount_ratio_50_median_ppp2011" FLOAT,
"headcount_ratio_60_median_ppp2011" FLOAT,
"mean_ppp2011" FLOAT,
"median_ppp2011" FLOAT,
"decile1_thr_ppp2011" FLOAT,
"decile9_thr_ppp2011" FLOAT,
"headcount_100_ppp2017" UINTEGER,
"headcount_215_ppp2017" UINTEGER,
"headcount_365_ppp2017" UINTEGER,
"headcount_685_ppp2017" UINTEGER,
"headcount_1000_ppp2017" BIGINT,
"headcount_2000_ppp2017" BIGINT,
"headcount_3000_ppp2017" BIGINT,
"headcount_4000_ppp2017" BIGINT,
"headcount_ratio_100_ppp2017" FLOAT,
"headcount_ratio_215_ppp2017" FLOAT,
"headcount_ratio_365_ppp2017" FLOAT,
"headcount_ratio_685_ppp2017" FLOAT,
"headcount_ratio_1000_ppp2017" FLOAT,
"headcount_ratio_2000_ppp2017" FLOAT,
"headcount_ratio_3000_ppp2017" FLOAT,
"headcount_ratio_4000_ppp2017" FLOAT,
"headcount_40_median_ppp2017" UINTEGER,
"headcount_50_median_ppp2017" UINTEGER,
"headcount_60_median_ppp2017" UINTEGER,
"headcount_ratio_40_median_ppp2017" FLOAT,
"headcount_ratio_50_median_ppp2017" FLOAT,
"headcount_ratio_60_median_ppp2017" FLOAT,
"mean_ppp2017" FLOAT,
"median_ppp2017" FLOAT,
"decile1_thr_ppp2017" FLOAT,
"decile9_thr_ppp2017" FLOAT
);
CREATE TABLE owid_income_consumption_2011_unsmoothed (
"country" VARCHAR,
"year" INTEGER,
"reporting_level" VARCHAR,
"welfare_type" VARCHAR,
"ppp_version" INTEGER,
"survey_comparability" INTEGER,
"comparable_spell" VARCHAR,
"reporting_pop" FLOAT,
"mean" FLOAT,
"median" FLOAT,
"mld" FLOAT,
"gini" FLOAT,
"polarization" FLOAT,
"decile1_share" FLOAT,
"decile2_share" FLOAT,
"decile3_share" FLOAT,
"decile4_share" FLOAT,
"decile5_share" FLOAT,
"decile6_share" FLOAT,
"decile7_share" FLOAT,
"decile8_share" FLOAT,
"decile9_share" FLOAT,
"decile10_share" FLOAT,
"decile1_thr" FLOAT,
"decile2_thr" FLOAT,
"decile3_thr" FLOAT,
"decile4_thr" FLOAT,
"decile5_thr" FLOAT,
"decile6_thr" FLOAT,
"decile7_thr" FLOAT,
"decile8_thr" FLOAT,
"decile9_thr" FLOAT,
"is_interpolated" INTEGER,
"distribution_type" VARCHAR,
"estimation_type" VARCHAR,
"headcount_40_median" UINTEGER,
"headcount_50_median" UINTEGER,
"headcount_60_median" UINTEGER,
"headcount_ratio_40_median" FLOAT,
"headcount_ratio_50_median" FLOAT,
"headcount_ratio_60_median" FLOAT,
"income_gap_ratio_40_median" FLOAT,
"income_gap_ratio_50_median" FLOAT,
"income_gap_ratio_60_median" FLOAT,
"poverty_gap_index_40_median" FLOAT,
"poverty_gap_index_50_median" FLOAT,
"poverty_gap_index_60_median" FLOAT,
"avg_shortfall_40_median" FLOAT,
"avg_shortfall_50_median" FLOAT,
"avg_shortfall_60_median" FLOAT,
"total_shortfall_40_median" FLOAT,
"total_shortfall_50_median" FLOAT,
"total_shortfall_60_median" FLOAT,
"poverty_severity_40_median" FLOAT,
"poverty_severity_50_median" FLOAT,
"poverty_severity_60_median" FLOAT,
"watts_40_median" FLOAT,
"watts_50_median" FLOAT,
"watts_60_median" FLOAT,
"spl" FLOAT,
"spr" FLOAT,
"headcount_100" UINTEGER,
"headcount_1000" BIGINT,
"headcount_190" UINTEGER,
"headcount_2000" BIGINT,
"headcount_3000" BIGINT,
"headcount_320" UINTEGER,
"headcount_4000" BIGINT,
"headcount_550" UINTEGER,
"headcount_ratio_100" FLOAT,
"headcount_ratio_1000" FLOAT,
"headcount_ratio_190" FLOAT,
"headcount_ratio_2000" FLOAT,
"headcount_ratio_3000" FLOAT,
"headcount_ratio_320" FLOAT,
"headcount_ratio_4000" FLOAT,
"headcount_ratio_550" FLOAT,
"income_gap_ratio_100" FLOAT,
"income_gap_ratio_1000" FLOAT,
"income_gap_ratio_190" FLOAT,
"income_gap_ratio_2000" FLOAT,
"income_gap_ratio_3000" FLOAT,
"income_gap_ratio_320" FLOAT,
"income_gap_ratio_4000" FLOAT,
"income_gap_ratio_550" FLOAT,
"poverty_gap_index_100" FLOAT,
"poverty_gap_index_1000" FLOAT,
"poverty_gap_index_190" FLOAT,
"poverty_gap_index_2000" FLOAT,
"poverty_gap_index_3000" FLOAT,
"poverty_gap_index_320" FLOAT,
"poverty_gap_index_4000" FLOAT,
"poverty_gap_index_550" FLOAT,
"avg_shortfall_100" FLOAT,
"avg_shortfall_1000" FLOAT,
"avg_shortfall_190" FLOAT,
"avg_shortfall_2000" FLOAT,
"avg_shortfall_3000" FLOAT,
"avg_shortfall_320" FLOAT,
"avg_shortfall_4000" FLOAT
);
CREATE TABLE owid_income_consumption_2017 (
"country" VARCHAR,
"year" INTEGER,
"surveys_past_decade" INTEGER,
"reporting_level" VARCHAR,
"welfare_type" VARCHAR,
"mean" FLOAT,
"median" FLOAT,
"mld" FLOAT,
"gini" FLOAT,
"polarization" FLOAT,
"decile1_share" FLOAT,
"decile2_share" FLOAT,
"decile3_share" FLOAT,
"decile4_share" FLOAT,
"decile5_share" FLOAT,
"decile6_share" FLOAT,
"decile7_share" FLOAT,
"decile8_share" FLOAT,
"decile9_share" FLOAT,
"decile10_share" FLOAT,
"decile1_thr" FLOAT,
"decile2_thr" FLOAT,
"decile3_thr" FLOAT,
"decile4_thr" FLOAT,
"decile5_thr" FLOAT,
"decile6_thr" FLOAT,
"decile7_thr" FLOAT,
"decile8_thr" FLOAT,
"decile9_thr" FLOAT,
"headcount_40_median" UINTEGER,
"headcount_50_median" UINTEGER,
"headcount_60_median" UINTEGER,
"headcount_ratio_40_median" FLOAT,
"headcount_ratio_50_median" FLOAT,
"headcount_ratio_60_median" FLOAT,
"income_gap_ratio_40_median" FLOAT,
"income_gap_ratio_50_median" FLOAT,
"income_gap_ratio_60_median" FLOAT,
"poverty_gap_index_40_median" FLOAT,
"poverty_gap_index_50_median" FLOAT,
"poverty_gap_index_60_median" FLOAT,
"avg_shortfall_40_median" FLOAT,
"avg_shortfall_50_median" FLOAT,
"avg_shortfall_60_median" FLOAT,
"total_shortfall_40_median" FLOAT,
"total_shortfall_50_median" FLOAT,
"total_shortfall_60_median" FLOAT,
"poverty_severity_40_median" FLOAT,
"poverty_severity_50_median" FLOAT,
"poverty_severity_60_median" FLOAT,
"watts_40_median" FLOAT,
"watts_50_median" FLOAT,
"watts_60_median" FLOAT,
"spl" FLOAT,
"spr" FLOAT,
"pg" FLOAT,
"headcount_100" UINTEGER,
"headcount_1000" BIGINT,
"headcount_2000" BIGINT,
"headcount_215" UINTEGER,
"headcount_3000" BIGINT,
"headcount_365" UINTEGER,
"headcount_4000" BIGINT,
"headcount_685" UINTEGER,
"headcount_ratio_100" FLOAT,
"headcount_ratio_1000" FLOAT,
"headcount_ratio_2000" FLOAT,
"headcount_ratio_215" FLOAT,
"headcount_ratio_3000" FLOAT,
"headcount_ratio_365" FLOAT,
"headcount_ratio_4000" FLOAT,
"headcount_ratio_685" FLOAT,
"income_gap_ratio_100" FLOAT,
"income_gap_ratio_1000" FLOAT,
"income_gap_ratio_2000" FLOAT,
"income_gap_ratio_215" FLOAT,
"income_gap_ratio_3000" FLOAT,
"income_gap_ratio_365" FLOAT,
"income_gap_ratio_4000" FLOAT,
"income_gap_ratio_685" FLOAT,
"poverty_gap_index_100" FLOAT,
"poverty_gap_index_1000" FLOAT,
"poverty_gap_index_2000" FLOAT,
"poverty_gap_index_215" FLOAT,
"poverty_gap_index_3000" FLOAT,
"poverty_gap_index_365" FLOAT,
"poverty_gap_index_4000" FLOAT,
"poverty_gap_index_685" FLOAT,
"avg_shortfall_100" FLOAT,
"avg_shortfall_1000" FLOAT,
"avg_shortfall_2000" FLOAT,
"avg_shortfall_215" FLOAT,
"avg_shortfall_3000" FLOAT,
"avg_shortfall_365" FLOAT,
"avg_shortfall_4000" FLOAT,
"avg_shortfall_685" FLOAT,
"total_shortfall_100" FLOAT,
"total_shortfall_1000" FLOAT,
"total_shortfall_2000" FLOAT,
"total_shortfall_215" FLOAT
);
CREATE TABLE owid_income_consumption_2017_avg_shortfall_100 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_avg_shortfall_1000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_avg_shortfall_2000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_avg_shortfall_215 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_avg_shortfall_3000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_avg_shortfall_365 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_avg_shortfall_4000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_avg_shortfall_40_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_avg_shortfall_50_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_avg_shortfall_60_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_avg_shortfall_685 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_bottom50_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile10_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile10_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile1_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile1_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile1_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile2_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile2_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile2_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile3_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile3_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile3_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile4_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile4_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile4_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile5_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile5_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile5_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile6_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile6_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile6_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile7_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile7_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile7_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile8_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile8_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile8_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile9_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile9_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_decile9_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_gini (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_headcount_100 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_headcount_1000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_headcount_2000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_headcount_215 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_headcount_3000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_headcount_365 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_headcount_4000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_headcount_40_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_headcount_50_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_headcount_60_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_headcount_685 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" UINTEGER,
"consumption_spell_2" UINTEGER,
"consumption_spell_3" UINTEGER,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" UINTEGER,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_headcount_ratio_100 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_headcount_ratio_1000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_headcount_ratio_2000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_headcount_ratio_215 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_headcount_ratio_3000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_headcount_ratio_365 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_headcount_ratio_4000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_headcount_ratio_40_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_headcount_ratio_50_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_headcount_ratio_60_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_headcount_ratio_685 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_income_gap_ratio_100 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_income_gap_ratio_1000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_income_gap_ratio_2000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_income_gap_ratio_215 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_income_gap_ratio_3000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_income_gap_ratio_365 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_income_gap_ratio_4000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_income_gap_ratio_40_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_income_gap_ratio_50_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_income_gap_ratio_60_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_income_gap_ratio_685 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_mean (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_middle40_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_mld (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_p50_p10_ratio (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_p90_p10_ratio (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_p90_p50_ratio (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_palma_ratio (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_pg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_polarization (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_poverty_gap_index_100 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_poverty_gap_index_1000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_poverty_gap_index_2000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_poverty_gap_index_215 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_poverty_gap_index_3000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_poverty_gap_index_365 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_poverty_gap_index_4000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_poverty_gap_index_40_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_poverty_gap_index_50_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_poverty_gap_index_60_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_poverty_gap_index_685 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_s80_s20_ratio (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_spl (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_spr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_top1_avg (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_top1_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_top1_thr (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_top90_99_share (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_total_shortfall_100 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" FLOAT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" FLOAT
);
CREATE TABLE owid_income_consumption_2017_total_shortfall_1000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" BIGINT,
"consumption_spell_3" BIGINT,
"consumption_spell_4" BIGINT,
"consumption_spell_5" BIGINT,
"consumption_spell_6" BIGINT,
"consumption_spell_7" BIGINT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" UINTEGER,
"income_spell_4" FLOAT,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_total_shortfall_2000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" BIGINT,
"consumption_spell_2" BIGINT,
"consumption_spell_3" BIGINT,
"consumption_spell_4" BIGINT,
"consumption_spell_5" BIGINT,
"consumption_spell_6" BIGINT,
"consumption_spell_7" BIGINT,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_total_shortfall_215 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" FLOAT,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_total_shortfall_3000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" BIGINT,
"consumption_spell_2" BIGINT,
"consumption_spell_3" BIGINT,
"consumption_spell_4" BIGINT,
"consumption_spell_5" BIGINT,
"consumption_spell_6" BIGINT,
"consumption_spell_7" BIGINT,
"income_spell_1" BIGINT,
"income_spell_2" UINTEGER,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_total_shortfall_365 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" FLOAT,
"income_spell_6" FLOAT,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_total_shortfall_4000 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" BIGINT,
"consumption_spell_2" BIGINT,
"consumption_spell_3" BIGINT,
"consumption_spell_4" BIGINT,
"consumption_spell_5" BIGINT,
"consumption_spell_6" BIGINT,
"consumption_spell_7" BIGINT,
"income_spell_1" BIGINT,
"income_spell_2" BIGINT,
"income_spell_3" UINTEGER,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_total_shortfall_40_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" FLOAT,
"consumption_spell_7" UINTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_total_shortfall_50_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" FLOAT,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" FLOAT,
"income_spell_2" UINTEGER,
"income_spell_3" FLOAT,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_total_shortfall_60_median (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" UINTEGER,
"consumption_spell_5" UINTEGER,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" FLOAT,
"income_spell_2" UINTEGER,
"income_spell_3" FLOAT,
"income_spell_4" UINTEGER,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_total_shortfall_685 (
"country" VARCHAR,
"year" INTEGER,
"consumption_spell_1" FLOAT,
"consumption_spell_2" FLOAT,
"consumption_spell_3" FLOAT,
"consumption_spell_4" FLOAT,
"consumption_spell_5" BIGINT,
"consumption_spell_6" UINTEGER,
"consumption_spell_7" UINTEGER,
"income_spell_1" FLOAT,
"income_spell_2" FLOAT,
"income_spell_3" FLOAT,
"income_spell_4" FLOAT,
"income_spell_5" UINTEGER,
"income_spell_6" UINTEGER,
"income_spell_7" UINTEGER,
"income_spell_8" UINTEGER
);
CREATE TABLE owid_income_consumption_2017_unsmoothed (
"country" VARCHAR,
"year" INTEGER,
"reporting_level" VARCHAR,
"welfare_type" VARCHAR,
"ppp_version" INTEGER,
"survey_comparability" INTEGER,
"comparable_spell" VARCHAR,
"reporting_pop" FLOAT,
"mean" FLOAT,
"median" FLOAT,
"mld" FLOAT,
"gini" FLOAT,
"polarization" FLOAT,
"decile1_share" FLOAT,
"decile2_share" FLOAT,
"decile3_share" FLOAT,
"decile4_share" FLOAT,
"decile5_share" FLOAT,
"decile6_share" FLOAT,
"decile7_share" FLOAT,
"decile8_share" FLOAT,
"decile9_share" FLOAT,
"decile10_share" FLOAT,
"decile1_thr" FLOAT,
"decile2_thr" FLOAT,
"decile3_thr" FLOAT,
"decile4_thr" FLOAT,
"decile5_thr" FLOAT,
"decile6_thr" FLOAT,
"decile7_thr" FLOAT,
"decile8_thr" FLOAT,
"decile9_thr" FLOAT,
"is_interpolated" INTEGER,
"distribution_type" VARCHAR,
"estimation_type" VARCHAR,
"headcount_40_median" UINTEGER,
"headcount_50_median" UINTEGER,
"headcount_60_median" UINTEGER,
"headcount_ratio_40_median" FLOAT,
"headcount_ratio_50_median" FLOAT,
"headcount_ratio_60_median" FLOAT,
"income_gap_ratio_40_median" FLOAT,
"income_gap_ratio_50_median" FLOAT,
"income_gap_ratio_60_median" FLOAT,
"poverty_gap_index_40_median" FLOAT,
"poverty_gap_index_50_median" FLOAT,
"poverty_gap_index_60_median" FLOAT,
"avg_shortfall_40_median" FLOAT,
"avg_shortfall_50_median" FLOAT,
"avg_shortfall_60_median" FLOAT,
"total_shortfall_40_median" FLOAT,
"total_shortfall_50_median" FLOAT,
"total_shortfall_60_median" FLOAT,
"poverty_severity_40_median" FLOAT,
"poverty_severity_50_median" FLOAT,
"poverty_severity_60_median" FLOAT,
"watts_40_median" FLOAT,
"watts_50_median" FLOAT,
"watts_60_median" FLOAT,
"spl" FLOAT,
"spr" FLOAT,
"pg" FLOAT,
"headcount_100" UINTEGER,
"headcount_1000" BIGINT,
"headcount_2000" BIGINT,
"headcount_215" UINTEGER,
"headcount_3000" BIGINT,
"headcount_365" UINTEGER,
"headcount_4000" BIGINT,
"headcount_685" UINTEGER,
"headcount_ratio_100" FLOAT,
"headcount_ratio_1000" FLOAT,
"headcount_ratio_2000" FLOAT,
"headcount_ratio_215" FLOAT,
"headcount_ratio_3000" FLOAT,
"headcount_ratio_365" FLOAT,
"headcount_ratio_4000" FLOAT,
"headcount_ratio_685" FLOAT,
"income_gap_ratio_100" FLOAT,
"income_gap_ratio_1000" FLOAT,
"income_gap_ratio_2000" FLOAT,
"income_gap_ratio_215" FLOAT,
"income_gap_ratio_3000" FLOAT,
"income_gap_ratio_365" FLOAT,
"income_gap_ratio_4000" FLOAT,
"income_gap_ratio_685" FLOAT,
"poverty_gap_index_100" FLOAT,
"poverty_gap_index_1000" FLOAT,
"poverty_gap_index_2000" FLOAT,
"poverty_gap_index_215" FLOAT,
"poverty_gap_index_3000" FLOAT,
"poverty_gap_index_365" FLOAT,
"poverty_gap_index_4000" FLOAT,
"poverty_gap_index_685" FLOAT,
"avg_shortfall_100" FLOAT,
"avg_shortfall_1000" FLOAT,
"avg_shortfall_2000" FLOAT,
"avg_shortfall_215" FLOAT,
"avg_shortfall_3000" FLOAT,
"avg_shortfall_365" FLOAT
);
CREATE TABLE owid_percentiles_income_consumption_2011 (
"country" VARCHAR,
"year" INTEGER,
"reporting_level" VARCHAR,
"welfare_type" VARCHAR,
"percentile" INTEGER,
"ppp_version" INTEGER,
"thr" FLOAT,
"avg" FLOAT,
"share" FLOAT,
"pop" FLOAT
);
CREATE TABLE owid_percentiles_income_consumption_2017 (
"country" VARCHAR,
"year" INTEGER,
"reporting_level" VARCHAR,
"welfare_type" VARCHAR,
"percentile" INTEGER,
"ppp_version" INTEGER,
"thr" FLOAT,
"avg" FLOAT,
"share" FLOAT,
"pop" FLOAT
);
Anyone who has the link will be able to view this.