Logo Lanfrica

Marion-Ck/kenya-energy-transition-analytics

Domaine:

environment and energysocioeconomic

Type de record:

project
Créateur:
Mar
Hôte:
An end-to-end data analytics project evaluating Kenya's macro energy efficiency trends and grid expansion (2000–2021) using Python and Tableau. # Decoupling Kenya's Economic Growth from Energy Intensity: A Framework Evaluating Grid Expansion vs. Resource Efficiency ## 🔗 Project Quick Links * **Interactive Tableau Dashboard:** 👉 Click Here to View the Live Dashboard (public.tableau.com)) * * **Cleaned Dataset:** `kenya_energy_baseline.csv` (Stored in this repository) * **Data Pipeline Script:** `clean_energy_data.py` --- ## 🎯 1. Project Objective & Business Problem In development economics and national infrastructure planning, measuring grid expansion is only half the battle. The true operational bottleneck is understanding whether grid access successfully displaces inefficient traditional fuels and improves national economic productivity. This project analyzes Kenya's macroeconomic energy shifts (2000–2021) to solve three core questions: 1. **The Infrastructure Gap:** How effectively has electrical grid access scaled over the last two decades? 2. **The Behavioral Inertia:** Is increased electricity access successfully reducing household reliance on combustible biomass (charcoal/wood)? 3. **The Economic Dividend:** Has the transition to a cleaner grid meaningfully optimized Kenya's national energy efficiency (Primary Energy Intensity)? --- ## 🛠️ 2. Data Engineering & Pipeline (Python) The raw data was ingested directly from the UN Humanitarian Data Exchange (HDX) via the World Bank Data Bank. Because the source file was structured vertically in a clean "long format," a Python pipeline was engineered to cleanly isolate our target baseline tracking indicators without disrupting the historical chronology. ```python import pandas as pd # Ingest raw dataset directly from the UN HDX live server url = "[data.humdata.org" df = pd.read_csv(url) # Isolate baseline tracking indicators m …