🌍 Africa Energy Data Pipeline
*Overview
This project automates the extraction, transformation, and loading (ETL) of energy data from the Africa Energy Portal
.
It gathers key indicators like electricity generation, access, consumption, and renewables for all African countries (2000–2024), stores them in MongoDB, and visualizes trends using Matplotlib.
* Features
- Fetches live energy datasets from the Africa Energy Portal
- Cleans and formats data into structured columns (2000–2024)
- Stores processed data in MongoDB Atlas
- Generates line chart visualizations for energy indicators
*Requirements
Install the dependencies:
pip install pandas cloudscraper pymongo matplotlib