Numbers with Purpose: A SQL Dive into Aid to Kenya
- Tim Neill
- May 5
- 3 min read
While reading the Financial Times recently, I found myself drawn into an article on international aid to Kenya written by William Wallis. He provoked a question that I couldn’t shake: where exactly does financial aid to Kenya go, and how is it truly making a difference on the ground? and, what could happen if the money stopped? That curiosity prompted me to dig deeper into the flow of funding and the real-world impact behind the headlines.
What I discovered was eye-opening. Aid to Kenya has helped fund life-saving health programs, including HIV/AIDS prevention through the U.S. President's Emergency Plan for AIDS Relief(PEPFAR), and malaria reduction initiatives that have significantly cut child mortality rates. Other funds have gone into bolstering food security, especially during times of drought, and supporting democratic governance through election monitoring and anti-corruption efforts. This deeper understanding of how international aid translates into tangible change inspired me to launch this project—to track, analyze, and tell the story behind the numbers.
Why This Project:
The idea for this project came from a simple goal: I wanted to practice and improve my SQL skills. I’ve always been interested in financial data, and with everything happening in Kenya, I started wondering how the aid money was actually being used. The International Development Association (IDA) Branch of the World Bank Group focuses on assisting low-income countries with grants and low-interest loans to improve lives and promote sustainable development, with a current focus on the 78 poorest countries. It wasn’t just about crunching numbers—it was about seeing how financial decisions affect a country going through a tough time.
What You Will Gain:
In this article, you’ll learn about the financial landscape of loans given to Kenya by the World Bank, including a brief overview of the Top 5 projects that received funds.
Key Takeaways:
International Aid Has a Clear and Measurable Impact
Financial Gaps and Cancellations Highlight Systemic Issues
Kenya’s Debt to the IDA Is Substantial and Growing
Analysis Process:
My analysis process began with checking the data for accuracy and cleaning anytning that needed attention. I then used SQL queries; commands like WHERE, ORDER BY, AS, GROUP BY, MAX/MIN, etc. to gain insight to what the numbers were telling me.
The first question I ask myself when dealing with any dataset, is "How much data am I actually dealing with?" Turns out this dataset has almost 1.4 Million rows of data and 29 fields.







Insights:
Massive Investment, Focused Impact
Nearly $1.4 Trillion USD in international aid has been directed to Kenya, with the Top 5 projects alone receiving almost $250 Billion USD. These funds primarily support health, food security, and democratic governance.
Over $500 Million Cancelled: A Red Flag?
Despite large investments, over $500 Million USD in aid has been cancelled across the top projects—raising questions about implementation issues, shifting priorities, or administrative inefficiencies.
Debt Remains a Heavy Burden
Kenya currently owes nearly $225 Billion USD to the IDA, even after cancellations and disbursements—highlighting the growing challenge of balancing development aid with long-term debt sustainability.
Kenya is the 8th Highest Debtor to the IDA
In global comparison, Kenya ranks 8th in total funds owed to the IDA, underscoring its significant reliance on concessional loans within the World Bank’s aid ecosystem.
Call To Action:
I invite you to connect with me on LinkedIn! If you or someone you know is looking to hire a data analyst, let’s chat. I’d love to hear your thoughts on this analysis or any questions you might have.