Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📊 wittgenstein human capital #3702

Merged
merged 41 commits into from
Dec 11, 2024
Merged

Conversation

lucasrodes
Copy link
Member

@lucasrodes lucasrodes commented Dec 6, 2024

Tracking issue: https://github.com/owid/owid-issues/issues/1771

We have few charts relying on Wittgenstein Centre data. These datasets and charts are outdated and pre-ETL.

This PR adds the pipeline for ingesting Wittgenstein Centre data. In the future, it should be easier to ingest data from this source.

@owidbot
Copy link
Contributor

owidbot commented Dec 6, 2024

Quick links (staging server):

Site Dev Site Preview Admin Wizard Docs

Login: ssh owid@staging-site-data-wittgenstein-humancapital

chart-diff: ✅
  • 4/4 reviewed charts
  • Modified: 4/4
  • New: 0/0
  • Rejected: 0
data-diff: ❌ Found differences
= Dataset garden/antibiotics/2024-10-09/gram
  = Table gram
= Dataset garden/antibiotics/2024-10-09/gram_level
  = Table gram_level
= Dataset garden/artificial_intelligence/2024-07-16/cset
  = Table cset
= Dataset garden/aviation_safety_network/2024-06-05/aviation_statistics
  = Table aviation_statistics
= Dataset garden/climate_watch/2024-11-21/emissions_by_sector
  = Table carbon_dioxide_emissions_by_sector
  = Table greenhouse_gas_emissions_by_sector
  = Table methane_emissions_by_sector
  = Table fluorinated_gas_emissions_by_sector
  = Table nitrous_oxide_emissions_by_sector
= Dataset garden/countries/2024-08-27/gleditsch
  = Table gleditsch_regions
  = Table gleditsch
  = Table gleditsch_countries
= Dataset garden/demography/2024-07-12/un_wpp_historical
  = Table estimates
    ~ Column population_estimates (changed metadata)
-       -       <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?              -        -------------------------              -
+       +       <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
  = Table projections
    ~ Column population (changed metadata)
-       -       <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?              -        -------------------------              -
+       +       <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
= Dataset garden/demography/2024-07-15/population
  = Table population_growth_rate
  = Table population
  = Table population_original
  = Table population_density
  = Table projections
  = Table historical
= Dataset garden/demography/2024-07-18/population_doubling_times
  = Table population_doubling_times
= Dataset garden/demography/2024-12-03/birth_rate
  = Table birth_rate
= Dataset garden/demography/2024-12-03/fertility_rate
  = Table fertility_rate
= Dataset garden/demography/2024-12-03/life_expectancy
  = Table life_expectancy_only_proj
  = Table life_expectancy
  = Table life_expectancy_with_proj
+ Dataset garden/demography/2024-12-06/wittgenstein_human_capital
+ + Table by_age
+   + Column sexratio
+ + Table by_age_edu
+   + Column asfr
+ + Table by_edu
+   + Column ggapedu15
+   + Column ggapedu25
+   + Column macb
+   + Column tfr
+   + Column net
+ + Table by_sex
+   + Column ryl15
+   + Column e0
+   + Column pryl15
+ + Table by_sex_age
+   + Column mys
+ + Table by_sex_age_edu
+   + Column pop
+   + Column prop
+   + Column assr
+ + Table main
+   + Column tdr
+   + Column ggapmys25
+   + Column mage
+   + Column ydr
+   + Column ggapmys15
+   + Column odr
+   + Column growth
+   + Column imm
+   + Column emi
+   + Column cbr
+   + Column nirate
+   + Column cdr
+ Dataset garden/demography/2024-12-06/wittgenstein_human_capital_historical
+ + Table by_age
+   + Column sexratio
+ + Table by_age_edu
+   + Column asfr
+ + Table by_edu
+   + Column ggapedu15
+   + Column ggapedu25
+   + Column tfr
+ + Table by_sex
+   + Column ryl15
+   + Column e0
+   + Column pryl15
+ + Table by_sex_age
+   + Column mys
+   + Column net
+ + Table by_sex_age_edu
+   + Column pop
+   + Column prop
+   + Column assr
+ + Table main
+   + Column ggapmys25
+   + Column ggapmys15
+   + Column mage
+   + Column odr
+   + Column ydr
+   + Column tdr
+   + Column nirate
+   + Column cbr
+   + Column cdr
+   + Column macb
+   + Column growth
= Dataset garden/education/2023-07-17/education_barro_lee_projections
  = Table education_barro_lee_projections
= Dataset garden/education/2023-07-17/education_lee_lee
  = Table education_lee_lee
= Dataset garden/emdat/2024-04-11/natural_disasters
  = Table natural_disasters_yearly
  = Table natural_disasters_yearly_deaths
  = Table natural_disasters_decadal
  = Table natural_disasters_decadal_impact
  = Table natural_disasters_decadal_deaths
  = Table natural_disasters_yearly_impact
= Dataset garden/emissions/2024-11-21/gdp_and_co2_decoupling
  = Table gdp_and_co2_decoupling
= Dataset garden/emissions/2024-11-21/national_contributions
  = Table national_contributions
= Dataset garden/emissions/2024-11-21/owid_co2
  = Table owid_co2
  = Table owid_co2_codebook
= Dataset garden/energy/2024-11-15/photovoltaic_cost_and_capacity
  = Table photovoltaic_cost_and_capacity
= Dataset garden/gapminder/2023-09-22/total_fertility_rate
  = Table fertility_rate
= Dataset garden/gcp/2024-11-21/global_carbon_budget
  = Table global_carbon_budget
= Dataset garden/growth/2024-05-16/gdp_historical
  = Table gdp_historical
= Dataset garden/harvard/2024-07-22/global_military_spending_dataset
  = Table global_military_spending_dataset
= Dataset garden/health/2024-04-22/gpei_funding
  = Table gpei_funding
= Dataset garden/health/latest/global_health_mpox
  = Table global_health_mpox
= Dataset garden/irena/2024-11-01/renewable_capacity_statistics
  = Table renewable_capacity_statistics
= Dataset garden/maternal_mortality/2024-07-08/maternal_mortality
  = Table maternal_mortality
= Dataset garden/migration/2024-11-18/migration_between_regions
  = Table migration_between_regions
= Dataset garden/oecd/2024-08-21/co2_air_transport
  = Table co2_air_transport
= Dataset garden/oecd/2024-08-21/official_development_assistance
  = Table dac2a
  = Table official_development_assistance
= Dataset garden/research_development/2024-05-20/patents_articles
  = Table patents_articles
= Dataset garden/sipri/2024-07-08/military_expenditure
  = Table military_expenditure
= Dataset garden/tourism/2024-08-17/unwto
  = Table unwto
= Dataset garden/un/2024-03-14/un_wpp_most
  = Table population_10_year_age_groups
  = Table population_5_year_age_groups
= Dataset garden/un/2024-04-09/undp_hdr
  = Table undp_hdr
= Dataset garden/un/2024-07-12/un_wpp
  = Table sex_ratio
    ~ Column sex_ratio (changed metadata)
-       -   <%-endif -%> <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                       -        -------------------------              -
+       +   <%-endif -%> <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       <%-endif -%> <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                           -        -------------------------              -
+       +       <%-endif -%> <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
  = Table population
    ~ Column population (changed metadata)
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?              -        -------------------------              -
+       +       <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
    ~ Column population_change (changed metadata)
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?              -        -------------------------              -
+       +       <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
    ~ Column population_density (changed metadata)
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       The number of people per km² of land area. <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                                                         -        -------------------------              -
+       +       The number of people per km² of land area. <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
  = Table median_age
    ~ Column median_age (changed metadata)
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       The median age divides the population into two parts of equal size; that is, there are as many people with ages above the median age as there are with ages below. <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                                                                                                                                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^               ^^^^^
+       +       The median age divides the population into two parts of equal size; that is, there are as many people with ages above the median age as there are with ages below. <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                                                                                                                                                                                 ^^^^^^^               ^^^^
  = Table deaths
    ~ Column death_rate (changed metadata)
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       The number of deaths occurring during the year, per 1,000 people. <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                                                                                -        -------------------------              -
+       +       The number of deaths occurring during the year, per 1,000 people. <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
    ~ Column deaths (changed metadata)
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?              -        -------------------------              -
+       +       <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
  = Table births
    ~ Column birth_rate (changed metadata)
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       The number of live births occurring during the year, per 1,000 people. <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                                                                                     -       -------------------------               ^^^^^
+       +       The number of live births occurring during the year, per 1,000 people. <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                                                                                                           ^^^^
    ~ Column births (changed metadata)
-       -   Number of births recorded annually, based on the civil calendar year, spanning from January 1 to December 31. <%- if sex is defined -%>
        ?                                                                                                                    -       ^^^  ^^^^^
+       +   Number of births recorded annually, based on the civil calendar year, spanning from January 1 to December 31. <%-if not (sex == 'all' and age == 'all') -%>
        ?                                                                                                                       +++++    ^^^^^^^^^^^ +++ ^^^^^^^^^^
-       -   <%-if not (sex == 'all' and age == 'all') -%>
-       -   <%- endif -%>
        ?      -
+       +   <%-endif -%>
-       -   <%- endif -%>
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?              -        -------------------------              -
+       +       <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
  = Table mortality_rate
    ~ Column mortality_rate (changed metadata)
-       -   <%-endif -%> <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                       -        -------------------------              -
+       +   <%-endif -%> <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       <%- endif -%> <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                            -        -------------------------              -
+       +       <%- endif -%> <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       <%- endif -%> <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                            -        -------------------------              -
+       +       <%- endif -%> <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
  = Table growth_rate
    ~ Column growth_rate (changed metadata)
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       The growth rate is the population change determined by births, deaths, and migration flows. <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                                                                                                          -       -------------------------               ^^^^^
+       +       The growth rate is the population change determined by births, deaths, and migration flows. <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                                                                                                                                ^^^^
  = Table natural_change_rate
    ~ Column natural_change_rate (changed metadata)
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       The natural growth rate is the population change determined by births and deaths. Migration flows are not taken into account. <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                                                                                                                                            -       -------------------------               ^^^^^
+       +       The natural growth rate is the population change determined by births and deaths. Migration flows are not taken into account. <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                                                                                                                                                                  ^^^^
  = Table fertility_rate
    ~ Column fertility_rate (changed metadata)
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?              -        -------------------------              -
+       +       <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
  = Table migration
    ~ Column net_migration (changed metadata)
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       <%-endif -%> <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                           -        -------------------------              -
+       +       <%-endif -%> <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
    ~ Column net_migration_rate (changed metadata)
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?              -        -------------------------              -
+       +       <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
  = Table life_expectancy
    ~ Column life_expectancy (changed metadata)
-       -   <%-endif -%> <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                       -        -------------------------              -
+       +   <%-endif -%> <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       <%-endif -%> <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?                           -        -------------------------              -
+       +       <%-endif -%> <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
  = Table dependency_ratio
    ~ Column dependency_ratio (changed metadata)
-       -       <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?              -        -------------------------              -
+       +       <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
= Dataset garden/un/2024-07-25/refugee_data
  = Table refugee_data
= Dataset garden/un/2024-07-25/resettlement
  = Table resettlement
= Dataset garden/un/2024-09-11/igme
  = Table igme_under_fifteen_mortality
  = Table igme
= Dataset garden/un/2024-09-16/long_run_child_mortality
  = Table long_run_child_mortality_selected
  = Table long_run_child_mortality
= Dataset garden/un/2024-10-01/births_by_age
  = Table births_by_age
    ~ Column births (changed metadata)
-       -   Number of births recorded annually, based on the civil calendar year, spanning from January 1 to December 31. <%- if sex is defined -%>
        ?                                                                                                                    -       ^^^  ^^^^^
+       +   Number of births recorded annually, based on the civil calendar year, spanning from January 1 to December 31. <%-if not (sex == 'all' and age == 'all') -%>
        ?                                                                                                                       +++++    ^^^^^^^^^^^ +++ ^^^^^^^^^^
-       -   <%-if not (sex == 'all' and age == 'all') -%>
-       -   <%- endif -%>
        ?      -
+       +   <%-endif -%>
-       -   <%- endif -%>
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?              -        -------------------------              -
+       +       <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
    ~ Column share (changed metadata)
-       -   Number of births recorded annually, based on the civil calendar year, spanning from January 1 to December 31. <%- if sex is defined -%>
        ?                                                                                                                    -       ^^^  ^^^^^
+       +   Number of births recorded annually, based on the civil calendar year, spanning from January 1 to December 31. <%-if not (sex == 'all' and age == 'all') -%>
        ?                                                                                                                       +++++    ^^^^^^^^^^^ +++ ^^^^^^^^^^
-       -   <%-if not (sex == 'all' and age == 'all') -%>
-       -   <%- endif -%>
        ?      -
+       +   <%-endif -%>
-       -   <%- endif -%>
-       -   <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?          -        -------------------------              -
+       +   <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
-       -       <%- if (variant is defined) and (variant != 'estimates') -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
        ?              -        -------------------------              -
+       +       <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. <%- endif -%>
= Dataset garden/unicef/2024-07-30/child_migration
  = Table child_migration
= Dataset garden/urbanization/2024-10-14/ghsl_degree_of_urbanisation
  = Table ghsl_degree_of_urbanisation
= Dataset garden/urbanization/2024-12-02/ghsl_urban_centers
  = Table ghsl_urban_centers
= Dataset garden/war/2023-09-21/prio_v31
  = Table prio_v31
  = Table prio_v31_country
= Dataset garden/war/2024-08-26/ucdp
  = Table ucdp
  = Table ucdp_locations
  = Table ucdp_country
= Dataset garden/war/2024-08-26/ucdp_prio
  = Table ucdp_prio
= Dataset garden/war/2024-11-22/ucdp_preview
  = Table ucdp_preview
  = Table ucdp_preview_country
  = Table ucdp_preview_locations
= Dataset garden/wb/2024-06-10/gender_statistics_country_counts
  = Table gender_statistics
= Dataset garden/wb/2024-07-29/income_groups
  = Table income_groups_latest
  = Table income_groups
= Dataset garden/wb/2024-09-09/food_prices_for_nutrition
  = Table food_prices_for_nutrition
= Dataset garden/wb/2024-10-07/world_bank_pip
  = Table income_2017_decile8_share
  = Table income_2017_avg_shortfall_60_median
  = Table income_consumption_2017
    ~ Column poverty_gap_index_215 (changed metadata)
-       -   title_public: Poverty gap index at $2.15 per day
+       +   title_public: $2.15 a day - Poverty gap index
+       +     - Economic Inequality
+       +     - Economic Growth
  = Table income_consumption_2017_avg_shortfall_40_median
  = Table consumption_2017_poverty_gap_index_215
  = Table income_consumption_2017_total_shortfall_685
  = Table percentiles_income_consumption_2017
  = Table income_consumption_2017_decile3_avg
  = Table consumption_2017_poverty_gap_index_100
  = Table consumption_2017_headcount_ratio_40_median
  = Table income_2017_decile4_share
  = Table income_consumption_2017_decile4_avg
  = Table consumption_2017_decile6_thr
  = Table consumption_2017_p90_p50_ratio
  = Table consumption_2017_headcount_3000
  = Table income_2017_decile3_avg
  = Table income_consumption_2017_poverty_gap_index_365
  = Table consumption_2017_avg_shortfall_685
  = Table income_consumption_2017_headcount_ratio_100
  = Table income_consumption_2017_palma_ratio
  = Table income_2017_avg_shortfall_215
  = Table income_consumption_2017_decile6_thr
  = Table income_2017_decile5_thr
  = Table income_2017_pg
  = Table consumption_2017_decile3_share
  = Table income_2017_total_shortfall_1000
  = Table income_consumption_2017_spr
  = Table income_consumption_2017_median
  = Table income_2017_polarization
  = Table consumption_2017_headcount_ratio_60_median
  = Table income_consumption_2011_unsmoothed
  = Table income_consumption_2017_income_gap_ratio_1000
  = Table income_2017_income_gap_ratio_60_median
  = Table income_2017_poverty_gap_index_1000
  = Table income_2017_headcount_60_median
  = Table income_consumption_2017_poverty_gap_index_60_median
  = Table consumption_2017_decile8_thr
  = Table income_consumption_2017_decile8_share
  = Table income_consumption_2017_total_shortfall_40_median
  = Table income_consumption_2017_total_shortfall_50_median
  = Table income_consumption_2017_headcount_ratio_685
  = Table income_consumption_2017_avg_shortfall_685
  = Table consumption_2017_decile9_thr
  = Table income_consumption_2017_avg_shortfall_100
  = Table consumption_2017_decile6_avg
  = Table income_consumption_2017_income_gap_ratio_685
  = Table consumption_2017_avg_shortfall_215
  = Table income_consumption_2017_p90_p50_ratio
  = Table income_consumption_2017_total_shortfall_100
  = Table income_consumption_2017_poverty_gap_index_1000
  = Table income_consumption_2017_avg_shortfall_4000
  = Table income_2017_poverty_gap_index_100
  = Table consumption_2017_mld
  = Table income_consumption_2017_decile6_avg
  = Table income_consumption_2017_headcount_ratio_2000
  = Table income_2017_decile3_share
  = Table consumption_2017_palma_ratio
  = Table consumption_2017_decile8_share
  = Table consumption_2017_poverty_gap_index_60_median
  = Table income_2017_avg_shortfall_100
  = Table income_2017_total_shortfall_50_median
  = Table income_2017_total_shortfall_100
  = Table income_consumption_2017_decile6_share
  = Table income_consumption_2017_decile10_share
  = Table income_2017_headcount_40_median
  = Table consumption_2017_total_shortfall_60_median
  = Table income_consumption_2017_headcount_ratio_50_median
  = Table income_2017_avg_shortfall_365
  = Table income_2017_mld
  = Table consumption_2017_poverty_gap_index_4000
  = Table consumption_2017_decile1_thr
  = Table consumption_2017_decile1_avg
  = Table income_2017
  = Table income_2017_top1_avg
  = Table income_consumption_2017_avg_shortfall_1000
  = Table income_consumption_2017_decile3_share
  = Table consumption_2017_decile1_share
  = Table income_consumption_2017_income_gap_ratio_4000
  = Table income_2017_decile4_thr
  = Table income_consumption_2017_total_shortfall_2000
  = Table income_consumption_2017_income_gap_ratio_60_median
  = Table consumption_2017_decile7_avg
  = Table consumption_2017_poverty_gap_index_685
  = Table income_2017_poverty_gap_index_2000
  = Table consumption_2017_decile10_avg
  = Table income_consumption_2017_headcount_40_median
  = Table consumption_2017_income_gap_ratio_685
  = Table income_consumption_2017_decile1_share
  = Table income_2017_decile9_thr
  = Table income_2017_decile9_share
  = Table consumption_2017_middle40_share
  = Table income_2017_poverty_gap_index_40_median
  = Table income_consumption_2017_decile10_avg
  = Table income_2011
  = Table consumption_2017_avg_shortfall_100
  = Table consumption_2017_income_gap_ratio_4000
  = Table consumption_2017_top1_avg
  = Table income_consumption_2017_polarization
  = Table income_2017_headcount_50_median
  = Table consumption_2017_gini
  = Table consumption_2017_p50_p10_ratio
  = Table income_2017_decile8_thr
  = Table income_consumption_2017_middle40_share
  = Table income_2017_s80_s20_ratio
  = Table consumption_2017_decile3_avg
  = Table consumption_2017_headcount_1000
  = Table consumption_2017_p90_p10_ratio
  = Table income_2017_headcount_ratio_3000
  = Table income_consumption_2017_poverty_gap_index_215
  = Table income_2017_decile6_share
  = Table income_consumption_2017_total_shortfall_1000
  = Table income_2017_headcount_ratio_2000
  = Table income_2017_headcount_685
  = Table income_2017_avg_shortfall_50_median
  = Table income_2017_gini
  = Table income_2017_p50_p10_ratio
  = Table income_consumption_2017_decile7_share
  = Table consumption_2017_headcount_4000
  = Table income_consumption_2017_top90_99_share
  = Table consumption_2011
  = Table income_2017_avg_shortfall_2000
  = Table income_consumption_2017_poverty_gap_index_100
  = Table income_consumption_2017_decile2_share
  = Table income_2017_total_shortfall_685
  = Table income_2017_decile10_share
  = Table income_consumption_2017_top1_avg
  = Table consumption_2017_poverty_gap_index_50_median
  = Table income_2017_income_gap_ratio_215
  = Table income_2017_headcount_ratio_1000
  = Table consumption_2017_income_gap_ratio_365
  = Table consumption_2017_decile5_share
  = Table consumption_2017_poverty_gap_index_40_median
  = Table income_consumption_2017_headcount_2000
  = Table income_2017_decile2_thr
  = Table income_2017_palma_ratio
  = Table income_2017_decile2_share
  = Table consumption_2017_headcount_ratio_4000
  = Table consumption_2017_median
  = Table percentiles_income_consumption_2011
  = Table consumption_2017_headcount_40_median
  = Table income_2017_income_gap_ratio_50_median
  = Table income_consumption_2017_poverty_gap_index_685
  = Table income_2017_top1_share
  = Table consumption_2017_total_shortfall_3000
  = Table income_2017_p90_p50_ratio
  = Table consumption_2017_headcount_685
  = Table consumption_2017_income_gap_ratio_215
  = Table income_consumption_2017_avg_shortfall_215
  = Table income_consumption_2017_spl
  = Table income_consumption_2017_income_gap_ratio_40_median
  = Table income_2017_poverty_gap_index_3000
  = Table income_consumption_2017_decile5_avg
  = Table consumption_2017_total_shortfall_100
  = Table income_consumption_2017_mld
  = Table income_2017_headcount_ratio_4000
  = Table consumption_2017_total_shortfall_685
  = Table consumption_2017_avg_shortfall_4000
  = Table consumption_2017_decile4_thr
  = Table income_consumption_2017_avg_shortfall_365
  = Table income_2017_median
  = Table income_consumption_2017_avg_shortfall_3000
  = Table consumption_2017_decile2_share
  = Table income_2017_income_gap_ratio_685
  = Table income_consumption_2017_bottom50_share
  = Table consumption_2017_top1_thr
  = Table consumption_2017_income_gap_ratio_50_median
  = Table income_2017_income_gap_ratio_365
  = Table income_consumption_2017_decile3_thr
  = Table income_consumption_2017_income_gap_ratio_215
  = Table income_consumption_2017_decile8_thr
  = Table income_2017_decile7_share
  = Table income_consumption_2017_income_gap_ratio_3000
  = Table income_2017_top90_99_share
  = Table consumption_2017_headcount_ratio_1000
  = Table income_consumption_2017_decile9_avg
  = Table consumption_2011_2017
  = Table income_2017_decile2_avg
  = Table income_2017_income_gap_ratio_100
  = Table income_consumption_2017_s80_s20_ratio
  = Table income_consumption_2017_total_shortfall_215
  = Table income_2017_headcount_ratio_40_median
  = Table consumption_2017_total_shortfall_4000
  = Table income_consumption_2017_headcount_ratio_60_median
  = Table income_consumption_2017_pg
  = Table consumption_2017_decile10_share
  = Table income_2017_income_gap_ratio_1000
  = Table income_2017_decile1_thr
  = Table income_consumption_2017_headcount_ratio_1000
  = Table income_2017_avg_shortfall_685
  = Table income_consumption_2017_headcount_ratio_215
  = Table income_consumption_2017_total_shortfall_365
  = Table income_2017_income_gap_ratio_2000
  = Table consumption_2017_headcount_ratio_365
  = Table income_2017_middle40_share
  = Table income_consumption_2017_decile4_share
  = Table consumption_2017_headcount_2000
  = Table income_2017_mean
  = Table consumption_2017_top90_99_share
  = Table income_2017_poverty_gap_index_365
  = Table income_2017_headcount_ratio_365
  = Table income_consumption_2017_avg_shortfall_2000
  = Table consumption_2017_decile5_thr
  = Table income_2017_headcount_ratio_100
  = Table income_consumption_2017_decile9_thr
  = Table consumption_2017_decile9_share
  = Table income_2017_decile9_avg
  = Table income_2017_headcount_365
  = Table income_2017_top1_thr
  = Table income_2017_headcount_ratio_50_median
  = Table consumption_2017_total_shortfall_2000
  = Table consumption_2017_total_shortfall_40_median
  = Table consumption_2017_decile6_share
  = Table income_2017_total_shortfall_3000
  = Table income_consumption_2017_poverty_gap_index_2000
  = Table consumption_2017_mean
  = Table income_2017_total_shortfall_4000
  = Table consumption_2017_headcount_60_median
  = Table consumption_2017_headcount_ratio_685
  = Table consumption_2017_avg_shortfall_1000
  = Table consumption_2017_headcount_365
  = Table income_2017_income_gap_ratio_4000
  = Table income_2017_income_gap_ratio_3000
  = Table consumption_2017_s80_s20_ratio
  = Table income_consumption_2017_headcount_365
  = Table income_2017_avg_shortfall_3000
  = Table consumption_2017_spr
  = Table income_consumption_2017_headcount_ratio_3000
  = Table income_2017_total_shortfall_2000
  = Table income_2017_headcount_4000
  = Table income_consumption_2017_decile1_thr
  = Table income_2017_headcount_2000
  = Table consumption_2017_avg_shortfall_3000
  = Table income_2017_avg_shortfall_1000
  = Table income_consumption_2017_poverty_gap_index_3000
  = Table income_consumption_2017_headcount_4000
  = Table income_consumption_2017_income_gap_ratio_100
  = Table consumption_2017_headcount_100
  = Table consumption_2017_bottom50_share
  = Table income_2017_poverty_gap_index_50_median
  = Table income_2017_decile1_avg
  = Table income_2017_headcount_3000
  = Table consumption_2017_decile9_avg
  = Table income_2017_poverty_gap_index_685
  = Table consumption_2017_decile7_share
  = Table consumption_2017_decile2_avg
  = Table income_2017_decile7_thr
  = Table consumption_2017_total_shortfall_215
  = Table consumption_2017_headcount_ratio_2000
  = Table income_consumption_2017_headcount_ratio_40_median
  = Table consumption_2017_poverty_gap_index_1000
  = Table consumption_2017_avg_shortfall_50_median
  = Table income_consumption_2017_top1_thr
  = Table consumption_2017_headcount_ratio_50_median
  = Table income_2017_headcount_ratio_60_median
  = Table income_consumption_2011_2017
  = Table consumption_2017_top1_share
  = Table income_2017_total_shortfall_365
  = Table income_consumption_2017_p50_p10_ratio
  = Table consumption_2017_decile3_thr
  = Table income_consumption_2011
  = Table income_2011_2017
  = Table income_consumption_2017_headcount_60_median
  = Table income_consumption_2017_headcount_685
  = Table income_2017_decile7_avg
  = Table income_consumption_2017_poverty_gap_index_50_median
  = Table consumption_2017_income_gap_ratio_100
  = Table consumption_2017_avg_shortfall_2000
  = Table income_consumption_2017_headcount_ratio_365
  = Table consumption_2017_avg_shortfall_365
  = Table income_2017_decile6_avg
  = Table income_consumption_2017_decile8_avg
  = Table income_2017_bottom50_share
  = Table income_2017_decile4_avg
  = Table consumption_2017_pg
  = Table consumption_2017_income_gap_ratio_60_median
  = Table consumption_2017_headcount_ratio_3000
  = Table income_2017_headcount_215
  = Table income_consumption_2017_avg_shortfall_50_median
  = Table income_2017_decile8_avg
  = Table income_consumption_2017_p90_p10_ratio
  = Table consumption_2017_total_shortfall_365
  = Table income_consumption_2017_decile5_share
  = Table income_consumption_2017_unsmoothed
  = Table consumption_2017_income_gap_ratio_2000
  = Table income_2017_decile1_share
  = Table income_consumption_2017_avg_shortfall_60_median
  = Table income_consumption_2017_decile2_thr
  = Table consumption_2017_spl
  = Table income_2017_headcount_ratio_685
  = Table income_2017_avg_shortfall_4000
  = Table income_consumption_2017_decile9_share
  = Table consumption_2017_total_shortfall_50_median
  = Table income_2017_total_shortfall_60_median
  = Table income_consumption_2017_total_shortfall_4000
  = Table income_2017_poverty_gap_index_4000
  = Table consumption_2017_total_shortfall_1000
  = Table income_2017_headcount_100
  = Table income_consumption_2017_poverty_gap_index_40_median
  = Table income_consumption_2017_decile4_thr
  = Table income_2017_poverty_gap_index_60_median
  = Table income_2017_headcount_1000
  = Table income_consumption_2017_decile5_thr
  = Table consumption_2017
  = Table income_2017_p90_p10_ratio
  = Table income_consumption_2017_income_gap_ratio_2000
  = Table consumption_2017_decile4_share
  = Table income_2017_income_gap_ratio_40_median
  = Table consumption_2017_decile8_avg
  = Table income_consumption_2017_total_shortfall_3000
  = Table income_consumption_2017_top1_share
  = Table income_consumption_2017_decile7_avg
  = Table consumption_2017_decile7_thr
  = Table consumption_2017_polarization
  = Table income_consumption_2017_mean
  = Table consumption_2017_income_gap_ratio_40_median
  = Table income_2017_decile5_avg
  = Table income_2017_decile6_thr
  = Table income_2017_spl
  = Table income_2017_avg_shortfall_40_median
  = Table income_consumption_2017_gini
  = Table income_2017_poverty_gap_index_215
  = Table consumption_2017_headcount_215
  = Table income_consumption_2017_decile1_avg
  = Table income_2017_decile5_share
  = Table consumption_2017_poverty_gap_index_365
  = Table income_consumption_2017_headcount_100
  = Table consumption_2017_headcount_ratio_100
  = Table income_consumption_2017_poverty_gap_index_4000
  = Table income_consumption_2017_headcount_50_median
  = Table consumption_2017_decile4_avg
  = Table consumption_2017_avg_shortfall_60_median
  = Table consumption_2017_decile5_avg
  = Table income_consumption_2017_headcount_ratio_4000
  = Table income_2017_decile10_avg
  = Table income_consumption_2017_income_gap_ratio_365
  = Table consumption_2017_income_gap_ratio_3000
  = Table consumption_2017_avg_shortfall_40_median
  = Table consumption_2017_headcount_50_median
  = Table income_consumption_2017_headcount_1000
  = Table income_consumption_2017_decile7_thr
  = Table income_2017_total_shortfall_40_median
  = Table income_consumption_2017_decile2_avg
  = Table income_consumption_2017_total_shortfall_60_median
  = Table income_2017_headcount_ratio_215
  = Table consumption_2017_poverty_gap_index_3000
  = Table consumption_2017_decile2_thr
  = Table income_2017_decile3_thr
  = Table income_consumption_2017_income_gap_ratio_50_median
  = Table consumption_2017_poverty_gap_index_2000
  = Table income_2017_spr
  = Table consumption_2017_headcount_ratio_215
  = Table income_2017_total_shortfall_215
  = Table income_consumption_2017_headcount_215
  = Table consumption_2017_income_gap_ratio_1000
  = Table income_consumption_2017_headcount_3000
= Dataset garden/wb/2024-12-03/poverty_projections
  = Table poverty_projections
    ~ Dim country
+       + New values: 11712 / 11712 (100.00%)
           year  povertyline                             scenario                       country
           1993         3.65 Current forecast + historical growth Europe and Central Asia (PIP)
           2036         2.15                            6% growth Europe and Central Asia (PIP)
           1990         6.85                           Historical      Sub-Saharan Africa (PIP)
           1995         2.15        2% growth + Gini reduction 1%                         World
           2011         6.85                            8% growth                         World
-       - Removed values: 13176 / 11712 (112.50%)
           year  povertyline                                         scenario                               country
           1997         6.85                             Historical estimates         Europe and Central Asia (PIP)
           2029         3.65                            2% growth projections Latin America and the Caribbean (PIP)
           2010         2.15 Current forecast + historical growth projections     Other high income countries (PIP)
           2010         3.65                             Historical estimates                      South Asia (PIP)
           2013         3.65                            8% growth projections                      South Asia (PIP)
    ~ Dim year
+       + New values: 11712 / 11712 (100.00%)
                                country  povertyline                             scenario  year
          Europe and Central Asia (PIP)         3.65 Current forecast + historical growth  1993
          Europe and Central Asia (PIP)         2.15                            6% growth  2036
               Sub-Saharan Africa (PIP)         6.85                           Historical  1990
                                  World         2.15        2% growth + Gini reduction 1%  1995
                                  World         6.85                            8% growth  2011
-       - Removed values: 13176 / 11712 (112.50%)
                                        country  povertyline                                         scenario  year
                  Europe and Central Asia (PIP)         6.85                             Historical estimates  1997
          Latin America and the Caribbean (PIP)         3.65                            2% growth projections  2029
              Other high income countries (PIP)         2.15 Current forecast + historical growth projections  2010
                               South Asia (PIP)         3.65                             Historical estimates  2010
                               South Asia (PIP)         3.65                            8% growth projections  2013
    ~ Dim povertyline
+       + New values: 11712 / 11712 (100.00%)
                                country  year                             scenario  povertyline
          Europe and Central Asia (PIP)  1993 Current forecast + historical growth         3.65
          Europe and Central Asia (PIP)  2036                            6% growth         2.15
               Sub-Saharan Africa (PIP)  1990                           Historical         6.85
                                  World  1995        2% growth + Gini reduction 1%         2.15
                                  World  2011                            8% growth         6.85
-       - Removed values: 13176 / 11712 (112.50%)
                                        country  year                                         scenario  povertyline
                  Europe and Central Asia (PIP)  1997                             Historical estimates         6.85
          Latin America and the Caribbean (PIP)  2029                            2% growth projections         3.65
              Other high income countries (PIP)  2010 Current forecast + historical growth projections         2.15
                               South Asia (PIP)  2010                             Historical estimates         3.65
                               South Asia (PIP)  2013                            8% growth projections         3.65
    ~ Dim scenario
+       + New values: 11712 / 11712 (100.00%)
                                country  year  povertyline                             scenario
          Europe and Central Asia (PIP)  1993         3.65 Current forecast + historical growth
          Europe and Central Asia (PIP)  2036         2.15                            6% growth
               Sub-Saharan Africa (PIP)  1990         6.85                           Historical
                                  World  1995         2.15        2% growth + Gini reduction 1%
                                  World  2011         6.85                            8% growth
-       - Removed values: 13176 / 11712 (112.50%)
                                        country  year  povertyline                                         scenario
                  Europe and Central Asia (PIP)  1997         6.85                             Historical estimates
          Latin America and the Caribbean (PIP)  2029         3.65                            2% growth projections
              Other high income countries (PIP)  2010         2.15 Current forecast + historical growth projections
                               South Asia (PIP)  2010         3.65                             Historical estimates
                               South Asia (PIP)  2013         3.65                            8% growth projections
    ~ Column fgt0 (changed metadata, new data, changed data)
-       -     <% if scenario == "Historical estimates" %>
        ?                                  ----------
+       +     <% if scenario == "Historical" %>
-       -     <% elif scenario == "Current forecast + historical growth projections" %>
        ?                                                              ------------
+       +     <% elif scenario == "Current forecast + historical growth" %>
-       -     <% elif scenario == "Historical estimates + projections" %>
-       -     This data combines data based on household surveys or extrapolated up until the year of the data release using GDP growth estimates and forecasts, with projections based on GDP growth projections from the World Bank's Global Economic Prospects and the the Macro Poverty Outlook, together with IMF's World Economic Outlook, in the period 2025-2029. For the period 2030-2050, the data is projected using the average annual historical GDP per capita growth over 2010-2019.
-       -     <% elif scenario == "2% growth projections" %>
        ?                                   ------------
+       +     <% elif scenario == "2% growth" %>
-       -     <% elif scenario == "2% growth + Gini reduction 1% projections" %>
        ?                                                       ------------
+       +     <% elif scenario == "2% growth + Gini reduction 1%" %>
-       -     <% elif scenario == "2% growth + Gini reduction 2% projections" %>
        ?                                                       ------------
+       +     <% elif scenario == "2% growth + Gini reduction 2%" %>
-       -     <% elif scenario == "4% growth projections" %>
        ?                                   ------------
+       +     <% elif scenario == "4% growth" %>
-       -     <% elif scenario == "6% growth projections" %>
        ?                                   ------------
+       +     <% elif scenario == "6% growth" %>
-       -     <% elif scenario == "8% growth projections" %>
        ?                                   ------------
+       +     <% elif scenario == "8% growth" %>
-       -     attribution: Lakner et al. (2024). Reproducibility package for Poverty, Prosperity and Planet Report 2024
-       -     <% if scenario == "Historical estimates" or scenario == "Historical estimates + projections" %>
+       +     <% if scenario == "Historical" %>

+       + New values: 11712 / 11712 (100.00%)
                                country  year  povertyline                             scenario       fgt0
          Europe and Central Asia (PIP)  1993         3.65 Current forecast + historical growth       <NA>
          Europe and Central Asia (PIP)  2036         2.15                            6% growth   0.105415
               Sub-Saharan Africa (PIP)  1990         6.85                           Historical  90.141022
                                  World  1995         2.15        2% growth + Gini reduction 1%       <NA>
                                  World  2011         6.85                            8% growth       <NA>
-       - Removed values: 13176 / 11712 (112.50%)
                                        country  year  povertyline                                         scenario       fgt0
                  Europe and Central Asia (PIP)  1997         6.85                             Historical estimates  44.163143
          Latin America and the Caribbean (PIP)  2029         3.65                            2% growth projections   7.258942
              Other high income countries (PIP)  2010         2.15 Current forecast + historical growth projections       <NA>
                               South Asia (PIP)  2010         3.65                             Historical estimates  65.804619
                               South Asia (PIP)  2013         3.65                            8% growth projections       <NA>
    ~ Column poorpop (changed metadata, new data, changed data)
-       -     <% if scenario == "Historical estimates" %>
        ?                                  ----------
+       +     <% if scenario == "Historical" %>
-       -     <% elif scenario == "Current forecast + historical growth projections" %>
        ?                                                              ------------
+       +     <% elif scenario == "Current forecast + historical growth" %>
-       -     <% elif scenario == "Historical estimates + projections" %>
-       -     This data combines data based on household surveys or extrapolated up until the year of the data release using GDP growth estimates and forecasts, with projections based on GDP growth projections from the World Bank's Global Economic Prospects and the the Macro Poverty Outlook, together with IMF's World Economic Outlook, in the period 2025-2029. For the period 2030-2050, the data is projected using the average annual historical GDP per capita growth over 2010-2019.
-       -     <% elif scenario == "2% growth projections" %>
        ?                                   ------------
+       +     <% elif scenario == "2% growth" %>
-       -     <% elif scenario == "2% growth + Gini reduction 1% projections" %>
        ?                                                       ------------
+       +     <% elif scenario == "2% growth + Gini reduction 1%" %>
-       -     <% elif scenario == "2% growth + Gini reduction 2% projections" %>
        ?                                                       ------------
+       +     <% elif scenario == "2% growth + Gini reduction 2%" %>
-       -     <% elif scenario == "4% growth projections" %>
        ?                                   ------------
+       +     <% elif scenario == "4% growth" %>
-       -     <% elif scenario == "6% growth projections" %>
        ?                                   ------------
+       +     <% elif scenario == "6% growth" %>
-       -     <% elif scenario == "8% growth projections" %>
        ?                                   ------------
+       +     <% elif scenario == "8% growth" %>
-       -     attribution: Lakner et al. (2024). Reproducibility package for Poverty, Prosperity and Planet Report 2024
-       -     <% if scenario == "Historical estimates" or scenario == "Historical estimates + projections" %>
+       +     <% if scenario == "Historical" %>

+       + New values: 11712 / 11712 (100.00%)
                                country  year  povertyline                             scenario       poorpop
          Europe and Central Asia (PIP)  1993         3.65 Current forecast + historical growth          <NA>
          Europe and Central Asia (PIP)  2036         2.15                            6% growth  523123.90625
               Sub-Saharan Africa (PIP)  1990         6.85                           Historical   465695296.0
                                  World  1995         2.15        2% growth + Gini reduction 1%          <NA>
                                  World  2011         6.85                            8% growth          <NA>
-       - Removed values: 13176 / 11712 (112.50%)
                                        country  year  povertyline                                         scenario       poorpop
                  Europe and Central Asia (PIP)  1997         6.85                             Historical estimates   208242400.0
          Latin America and the Caribbean (PIP)  2029         3.65                            2% growth projections    49932444.0
              Other high income countries (PIP)  2010         2.15 Current forecast + historical growth projections          <NA>
                               South Asia (PIP)  2010         3.65                             Historical estimates  1092715904.0
                               South Asia (PIP)  2013         3.65                            8% growth projections          <NA>
= Dataset garden/who/2024-05-20/vehicles
  = Table vehicles
= Dataset garden/who/2024-09-09/flu_test
  = Table flu_test
    ~ Dim country
-       - Removed values: 21 / 72506 (0.03%)
                date    country
          2024-12-02    Algeria
          2024-11-25  Hong Kong
          2024-11-18 Madagascar
          2024-12-02      Niger
          2024-10-14    Somalia
    ~ Dim date
-       - Removed values: 21 / 72506 (0.03%)
             country       date
             Algeria 2024-12-02
           Hong Kong 2024-11-25
          Madagascar 2024-11-18
               Niger 2024-12-02
             Somalia 2024-10-14
    ~ Column denomcombined (changed data)
-       - Removed values: 21 / 72506 (0.03%)
             country       date  denomcombined
             Algeria 2024-12-02             44
           Hong Kong 2024-11-25           7082
          Madagascar 2024-11-18             98
               Niger 2024-12-02             50
             Somalia 2024-10-14              6
        ~ Changed values: 22 / 72506 (0.03%)
               country       date  denomcombined -  denomcombined +
            Bangladesh 2024-11-18              403              238
          Saudi Arabia 2024-11-11              354              344
               Somalia 2024-09-30               16                4
               Somalia 2024-10-07               13                6
                Uganda 2024-11-11               91               80
    ~ Column pcnt_poscombined (changed data)
-       - Removed values: 21 / 72506 (0.03%)
             country       date  pcnt_poscombined
             Algeria 2024-12-02          6.818182
           Hong Kong 2024-11-25           0.91782
          Madagascar 2024-11-18          6.122449
               Niger 2024-12-02               2.0
             Somalia 2024-10-14         66.666664
        ~ Changed values: 24 / 72506 (0.03%)
               country       date  pcnt_poscombined -  pcnt_poscombined +
          Saudi Arabia 2024-08-19           10.931174           11.740891
          Saudi Arabia 2024-10-14           22.147652           22.371365
               Somalia 2024-09-02           11.764706           15.384615
                Uganda 2024-10-28            8.695652            8.823529
                Uganda 2024-11-11            8.791209                10.0
= Dataset garden/who/latest/monkeypox
  = Table monkeypox
= Dataset garden/worldbank_wdi/2024-05-20/wdi
  = Table wdi
= Dataset garden/wpf/2024-10-03/total_famines_by_year_decade
  = Table total_famines_by_year_decade


Legend: +New  ~Modified  -Removed  =Identical  Details
Hint: Run this locally with etl diff REMOTE data/ --include yourdataset --verbose --snippet

Automatically updated datasets matching weekly_wildfires|excess_mortality|covid|fluid|flunet|country_profile|garden/ihme_gbd/2019/gbd_risk are not included

Edited: 2024-12-11 16:35:34 UTC
Execution time: 6.56 seconds

@lucasrodes
Copy link
Member Author

TODO for next week:

  • Further work on meadow
    • Keep only tables that are relevant (e.g. tons of population can be dropped)
    • See how we can combine
    • Distribute indicators in different tables based on the dimensions they have. E.g. do not put one indicator that does not have education with one that has. This way we can optimize memory.

@lucasrodes
Copy link
Member Author

lucasrodes commented Dec 10, 2024

In the v3 data, there are only datapoints ≥2020. I've started importing a historical version of the dataset, which extends 1950-2020.

Currently working on importing these into Meadow.

Next tasks:

  • MVP: bring projection-only to Grapher, with metadata
  • Combine with historical: to make this scale, consider only combining relevant indicators.

@lucasrodes lucasrodes marked this pull request as ready for review December 11, 2024 16:33
@lucasrodes lucasrodes merged commit ad28b12 into master Dec 11, 2024
7 of 8 checks passed
@lucasrodes lucasrodes deleted the data-wittgenstein-humancapital branch December 11, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants