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

📊 Update OECD ODA snapshots #4028

Merged
merged 5 commits into from
Feb 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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)"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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