Skip to content

Commit

Permalink
famines: small changes to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
veronikasamborska1994 committed Nov 14, 2024
1 parent 7ed3ccc commit 46dc44b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
14 changes: 7 additions & 7 deletions etl/steps/data/garden/wpf/2024-10-03/famines_by_place.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ def run(dest_dir: str) -> None:
tb_other = tb[~tb["country"].isin(main_countries)]
tb_main["country"] = tb_main["country"].replace(
{
"Russia": "USSR",
"Ukraine": "USSR",
"Russia, Ukraine": "USSR",
"Germany, USSR": "USSR",
"Moldova, Ukraine, Russia, Belarus": "USSR",
"Russia, Western Soviet States": "USSR",
"Russia, Kazakhstan": "USSR",
"Russia": "USSR/Russia",
"Ukraine": "USSR/Russia",
"Russia, Ukraine": "USSR/Russia",
"Germany, USSR": "USSR/Russia",
"Moldova, Ukraine, Russia, Belarus": "USSR/Russia",
"Russia, Western Soviet States": "USSR/Russia",
"Russia, Kazakhstan": "USSR/Russia",
"India, Bangladesh": "India",
}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ definitions:
topic_tags:
- Famines

footnote_decadal: |-
Decadal figures represent data averaged over each ten-year period (e.g., 1990–1999 for the 1990s). The 2020s figure is provisional and includes data only up to and including 2023.
# Learn more about the available fields:
# http://docs.owid.io/projects/etl/architecture/metadata/reference/
Expand All @@ -30,6 +32,10 @@ tables:
description_short: Deaths in famines that are estimated to have killed 100,000 people or more.
display:
numDecimalPlaces: 0
presentation:
grapher_config:
note: |-
{definitions.footnote_decadal}
famine_deaths_per_rate:
title: Death rates from famines
Expand All @@ -44,6 +50,10 @@ tables:
description_short: Deaths in famines that are estimated to have killed 100,000 people or more, per 100,000 people.
display:
numDecimalPlaces: 1
presentation:
grapher_config:
note: |-
{definitions.footnote_decadal}
famine_count:
title: Number of famines
Expand All @@ -58,3 +68,7 @@ tables:
description_short: Famines that are estimated to have killed 100,000 people or more.
display:
numDecimalPlaces: 0
presentation:
grapher_config:
note: |-
{definitions.footnote_decadal}

0 comments on commit 46dc44b

Please sign in to comment.