Skip to content

Commit

Permalink
📊 wid: Update World Inequality Database (#2295)
Browse files Browse the repository at this point in the history
* Update World Inequality Database

* 🐛 Apply Lucas' suggestions

* 🐛 make check

* empty commit

* 🐛 Add post tax national description only to post tax national data
  • Loading branch information
paarriagadap authored May 28, 2024
1 parent 85c3dbb commit a662e42
Show file tree
Hide file tree
Showing 19 changed files with 1,959 additions and 15 deletions.
23 changes: 12 additions & 11 deletions dag/poverty_inequality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ steps:
# Poverty and inequality file for Joe's PhD
data://explorers/poverty_inequality/latest/poverty_inequality_export:
- data://garden/wb/2024-03-27/world_bank_pip
- data://garden/wid/2023-08-24/world_inequality_database
- data://garden/wid/2024-05-24/world_inequality_database
- data://garden/lis/2023-08-30/luxembourg_income_study
- data://garden/wb/2024-01-22/thousand_bins_distribution
- data://garden/worldbank_wdi/2023-05-29/wdi
Expand All @@ -27,18 +27,19 @@ steps:
- data://garden/wb/2024-03-27/world_bank_pip

# World Inequality Database
data://meadow/wid/2023-08-24/world_inequality_database:
data://meadow/wid/2024-05-24/world_inequality_database:
- data://garden/regions/2023-01-01/regions
- snapshot://wid/2023-08-24/world_inequality_database.csv
- snapshot://wid/2023-08-24/world_inequality_database_with_extrapolations.csv
- snapshot://wid/2023-08-24/world_inequality_database_distribution.csv
- snapshot://wid/2023-08-24/world_inequality_database_distribution_with_extrapolations.csv
data://garden/wid/2023-08-24/world_inequality_database:
- data://meadow/wid/2023-08-24/world_inequality_database
data://grapher/wid/2023-08-24/world_inequality_database:
- data://garden/wid/2023-08-24/world_inequality_database
- snapshot://wid/2024-05-24/world_inequality_database.csv
- snapshot://wid/2024-05-24/world_inequality_database_with_extrapolations.csv
- snapshot://wid/2024-05-24/world_inequality_database_distribution.csv
- snapshot://wid/2024-05-24/world_inequality_database_distribution_with_extrapolations.csv
- snapshot://wid/2024-05-24/world_inequality_database_fiscal.csv
data://garden/wid/2024-05-24/world_inequality_database:
- data://meadow/wid/2024-05-24/world_inequality_database
data://grapher/wid/2024-05-24/world_inequality_database:
- data://garden/wid/2024-05-24/world_inequality_database
data://explorers/wid/latest/world_inequality_database:
- data://garden/wid/2023-08-24/world_inequality_database
- data://garden/wid/2024-05-24/world_inequality_database

# Luxembourg Income Study
data://meadow/lis/2023-08-30/luxembourg_income_study:
Expand Down
4 changes: 2 additions & 2 deletions etl/steps/data/garden/wb/2024-01-17/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
},
"avg": {
"title": "Average",
"description": "The mean {inc_cons_dict[wel]['name_distribution']} per year within the {pct_dict[pct]['decile10']} (tenth of the population).",
"description": "The mean {inc_cons_dict[wel]['name_distribution']} per day within the {pct_dict[pct]['decile10']} (tenth of the population).",
"unit": "international-$ in {ppp} prices",
"short_unit": "$",
"numDecimalPlaces": 2,
Expand All @@ -172,7 +172,7 @@
},
"thr": {
"title": "Threshold",
"description": "The level of {inc_cons_dict[wel]['name_distribution']} per year below which {str(pct)}% of the population falls.",
"description": "The level of {inc_cons_dict[wel]['name_distribution']} per day below which {str(pct)}% of the population falls.",
"unit": "international-$ in {ppp} prices",
"short_unit": "$",
"numDecimalPlaces": 2,
Expand Down
4 changes: 2 additions & 2 deletions etl/steps/data/garden/wb/2024-03-27/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
},
"avg": {
"title": "Average",
"description": "The mean {inc_cons_dict[wel]['name_distribution']} per year within the {pct_dict[pct]['decile10']} (tenth of the population).",
"description": "The mean {inc_cons_dict[wel]['name_distribution']} per day within the {pct_dict[pct]['decile10']} (tenth of the population).",
"unit": "international-$ in {ppp} prices",
"short_unit": "$",
"numDecimalPlaces": 2,
Expand All @@ -172,7 +172,7 @@
},
"thr": {
"title": "Threshold",
"description": "The level of {inc_cons_dict[wel]['name_distribution']} per year below which {str(pct)}% of the population falls.",
"description": "The level of {inc_cons_dict[wel]['name_distribution']} per day below which {str(pct)}% of the population falls.",
"unit": "international-$ in {ppp} prices",
"short_unit": "$",
"numDecimalPlaces": 2,
Expand Down
Loading

0 comments on commit a662e42

Please sign in to comment.