From 15f36dd02075dfe0c9a4765a062168c1cc632d45 Mon Sep 17 00:00:00 2001 From: Pablo Arriagada Date: Tue, 25 Feb 2025 15:16:24 +0000 Subject: [PATCH 1/5] =?UTF-8?q?=F0=9F=93=8A=20Update=20DAC2a=20from=20ODA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From 1be8894a3bef25bb7fd18b9d8b8bfae3ede8657f Mon Sep 17 00:00:00 2001 From: owidbot Date: Tue, 25 Feb 2025 15:32:00 +0000 Subject: [PATCH 2/5] :sparkles: update snapshots --- .../official_development_assistance_crs.zip.dvc | 8 ++++---- .../official_development_assistance_dac1.zip.dvc | 4 ++-- .../official_development_assistance_dac2a.zip.dvc | 4 ++-- .../official_development_assistance_dac5.zip.dvc | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/snapshots/oecd/2025-02-19/official_development_assistance_crs.zip.dvc b/snapshots/oecd/2025-02-19/official_development_assistance_crs.zip.dvc index 38a9908e61a..aab71fa2e1c 100644 --- a/snapshots/oecd/2025-02-19/official_development_assistance_crs.zip.dvc +++ b/snapshots/oecd/2025-02-19/official_development_assistance_crs.zip.dvc @@ -7,12 +7,12 @@ meta: citation_full: 'OECD (2024). OECD Official Development Assistance (ODA) - CRS: Creditor Reporting System (flows). OECD Data Explorer.' url_main: https://www.oecd.org/en/topics/policy-issues/official-development-assistance-oda.html url_download: https://stats.oecd.org/wbos/fileview2.aspx?IDFile=50f0355e-8f61-4230-85f3-90b4db45bfc9 - date_accessed: '2025-02-19' - date_published: '2024-12-23' + date_accessed: '2025-02-25' + date_published: '2024-02-21' license: name: OECD Terms & conditions url: https://www.oecd.org/en/about/terms-conditions.html outs: - - md5: c22ae926eb365db94e3086e09d7515ab - size: 910468945 + - md5: 8213edda12081a327d464dec8c1cdcd2 + size: 901753480 path: official_development_assistance_crs.zip diff --git a/snapshots/oecd/2025-02-19/official_development_assistance_dac1.zip.dvc b/snapshots/oecd/2025-02-19/official_development_assistance_dac1.zip.dvc index 13534e22e7c..fd7c73edde8 100644 --- a/snapshots/oecd/2025-02-19/official_development_assistance_dac1.zip.dvc +++ b/snapshots/oecd/2025-02-19/official_development_assistance_dac1.zip.dvc @@ -13,6 +13,6 @@ meta: name: OECD Terms & conditions url: https://www.oecd.org/en/about/terms-conditions.html outs: - - md5: 6246a3738f246d28fbe7659b59098952 - size: 17732300 + - md5: ca5306acf44db9da7c52d926c7059d6a + size: 17353939 path: official_development_assistance_dac1.zip diff --git a/snapshots/oecd/2025-02-19/official_development_assistance_dac2a.zip.dvc b/snapshots/oecd/2025-02-19/official_development_assistance_dac2a.zip.dvc index 68a97117a20..871d6a57b22 100644 --- a/snapshots/oecd/2025-02-19/official_development_assistance_dac2a.zip.dvc +++ b/snapshots/oecd/2025-02-19/official_development_assistance_dac2a.zip.dvc @@ -14,6 +14,6 @@ meta: name: OECD Terms & conditions url: https://www.oecd.org/en/about/terms-conditions.html outs: - - md5: 8dabd8751ee03d7f18fc40afcb4202ef - size: 66686104 + - md5: f5e1491b8c993914e7f1adb0f848bc71 + size: 77276314 path: official_development_assistance_dac2a.zip diff --git a/snapshots/oecd/2025-02-19/official_development_assistance_dac5.zip.dvc b/snapshots/oecd/2025-02-19/official_development_assistance_dac5.zip.dvc index a0eecc6bda8..0cacf7a9cf9 100644 --- a/snapshots/oecd/2025-02-19/official_development_assistance_dac5.zip.dvc +++ b/snapshots/oecd/2025-02-19/official_development_assistance_dac5.zip.dvc @@ -13,6 +13,6 @@ meta: name: OECD Terms & conditions url: https://www.oecd.org/en/about/terms-conditions.html outs: - - md5: bda5fe4cc0e51b72d40d9ab28dcf0bcd - size: 5722097 + - md5: 8ba2426bd0c28b947d5458a0d6ad4d5e + size: 5495261 path: official_development_assistance_dac5.zip From c680adee6d44f107ac8f4f4d699ccc59f8edaca7 Mon Sep 17 00:00:00 2001 From: Pablo Arriagada Date: Tue, 25 Feb 2025 15:42:41 +0000 Subject: [PATCH 3/5] :sparkles: add missing entities --- .../official_development_assistance.countries.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/etl/steps/data/garden/oecd/2025-02-19/official_development_assistance.countries.json b/etl/steps/data/garden/oecd/2025-02-19/official_development_assistance.countries.json index 7f92a7087aa..28c9bbcb685 100644 --- a/etl/steps/data/garden/oecd/2025-02-19/official_development_assistance.countries.json +++ b/etl/steps/data/garden/oecd/2025-02-19/official_development_assistance.countries.json @@ -71,7 +71,6 @@ "Asian Infrastructure Investment Bank [AIIB]": "Asian Infrastructure Investment Bank", "Bernard van Leer Foundation": "Bernard van Leer Foundation", "Bezos Earth Fund": "Bezos Earth Fund", - "Bill & Melinda Gates Foundation": "Bill & Melinda Gates Foundation", "Bloomberg Family Foundation": "Bloomberg Family Foundation", "CGIAR": "CGIAR", "COVID-19 Response and Recovery Multi-Partner Trust Fund [UN COVID-19 MPTF]": "UN COVID-19 Multi-Partner Trust Fund", @@ -424,5 +423,8 @@ "UN Development Coordination Office [UNDCO]": "UN Development Coordination Office (UNDCO)", "Good Ventures Foundation": "Good Ventures Foundation", "Van Leer Foundation": "Van Leer Foundation", - "IMF Resilience and Sustainability Trust [IMF-RST]": "IMF Resilience and Sustainability Trust (IMF-RST)" + "IMF Resilience and Sustainability Trust [IMF-RST]": "IMF Resilience and Sustainability Trust (IMF-RST)", + "Gates Foundation": "Gates Foundation", + "Private Infrastructure Development Group": "Private Infrastructure Development Group", + "UN Office on Drugs and Crime [UNODC]": "UN Office on Drugs and Crime (UNODC)" } \ No newline at end of file From 14497a8b5da1e2c1abaa0c1f0f3040a54e55ffb0 Mon Sep 17 00:00:00 2001 From: Pablo Arriagada Date: Tue, 25 Feb 2025 15:57:26 +0000 Subject: [PATCH 4/5] :lipstick: Remove non-DAC restriction --- .../garden/oecd/2025-02-19/official_development_assistance.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/etl/steps/data/garden/oecd/2025-02-19/official_development_assistance.py b/etl/steps/data/garden/oecd/2025-02-19/official_development_assistance.py index ab8d1226c3e..d9610822ac5 100644 --- a/etl/steps/data/garden/oecd/2025-02-19/official_development_assistance.py +++ b/etl/steps/data/garden/oecd/2025-02-19/official_development_assistance.py @@ -572,10 +572,6 @@ def remove_jumps_in_the_data_and_unneeded_cols(tb: Table) -> Table: (tb["country"] == "Non-DAC countries (OECD)") & (tb["year"] == 2007), "i_oda_net_disbursements_per_capita" ] = None - # Remove rows where country = Non-DAC countries (OECD) and year 2023 - # This is because the data is not complete until December 2024 - tb = tb[~((tb["country"] == "Non-DAC countries (OECD)") & (tb["year"] == 2023))].reset_index(drop=True) - # Remove columns tb = tb.drop( columns=["oda_bilateral_2_grant_equivalents", "oda_multilateral_2_grant_equivalents", "i_oda_grant_equivalents"] From fe784b05f417296aeb899f81858d22f324cd598f Mon Sep 17 00:00:00 2001 From: Pablo Arriagada Date: Tue, 25 Feb 2025 16:08:04 +0000 Subject: [PATCH 5/5] :sparkles: drop jump before 1992 --- .../garden/oecd/2025-02-19/official_development_assistance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etl/steps/data/garden/oecd/2025-02-19/official_development_assistance.py b/etl/steps/data/garden/oecd/2025-02-19/official_development_assistance.py index d9610822ac5..320d24565b1 100644 --- a/etl/steps/data/garden/oecd/2025-02-19/official_development_assistance.py +++ b/etl/steps/data/garden/oecd/2025-02-19/official_development_assistance.py @@ -563,7 +563,7 @@ def remove_jumps_in_the_data_and_unneeded_cols(tb: Table) -> Table: # For i_oda_net_disbursements_share_gni tb.loc[ - (tb["country"] == "Non-DAC countries (OECD)"), + (tb["country"] == "Non-DAC countries (OECD)") & (tb["year"] <= 1991), "i_oda_net_disbursements_share_gni", ] = None