Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

AureolePosey/benin-mobile-money-pipeline

Domain:

socioeconomic

Record type:

softwareproject
Creator:
Aur
Host:
# 🇧🇯 Benin Mobile Money Data Pipeline (PySpark) ## Project Overview This project simulates and processes Mobile Money transaction data in Benin using PySpark. It demonstrates a complete end-to-end Data Engineering pipeline including: - Data Generation - Data Ingestion - Data Validation (Data Quality checks) - Data Transformation & Aggregation - Writing optimized Parquet datasets The goal is to showcase practical Data Engineering skills using Spark. --- ## Architecture The pipeline is structured as follows: 1. **Data Generation** - Synthetic users dataset - Synthetic transactions dataset 2. **Ingestion** - Reading CSV files using Spark - Schema inference 3. **Validation** - Null checks - Business rule validation (negative amounts, future transactions) - Referential integrity (orphan transactions) 4. **Transformation** - Transaction volume per region - Top 10 users by transaction volume - Monthly & yearly aggregations 5. **Storage** - Results saved in Parquet format for optimized analytics --- ## Project Structure benin-mobile-money-pipeline/ │ ├── data/ │ ├── raw/ │ └── processed/ │ ├── src/ │ ├── generate_data.py │ ├── ingest.py │ ├── validate.py │ └── transform.py │ ├── requirements.txt └── README.md --- ## How to Run ### 1️- Create virtual environment ```bash python -m venv venv source venv/bin/activate 2️- Install dependencies pip install -r requirements.txt 3️- Run the pipeline python src/generate_data.py python src/ingest.py python src/validate.py python src/transform.py Example Outputs Transaction volume by region Top 10 users by total transaction volume Monthly transaction trends All processed datasets are saved in: data/processed/ Technologies Used -Python -PySpark -Parquet -WSL (Windows Subsystem for Linux) Key Learnings Building a structured Data Engineering pipeline Performing Data Quality validation with Spark Business-driven aggregation logic Writing optimized analytical datasets Author Rogelio Edjek …

Visit

github.com

Similar

AureolePosey/benin-macroeconomic-analysisdahowealth/benin-inflation-pipelineMobile Money TransferMobile-money-12agweria/mobile-moneybanta/mobile-money

AureolePosey/benin-macroeconomic-analysis

Analyse macroéconomique du Bénin (2016–2024) avec Python, pandas # Analyse macroéconomique du Bénin

dahowealth/benin-inflation-pipeline

End-to-end data engineering ETL pipeline and economic inflation analysis using INStaD data for Benin

Mobile Money Transfer

The chapter reviews the growth of mobile money transactions (MMTs) and their effect on international

Mobile-money-12

Mobile Money and Financial Inclusion in Tanzania Challenge

agweria/mobile-money

Mobile Money Payments API in Kenya (MPESA, EQUITY/EQUITEL,T-CASH). Supports B2B, B2C and C2B # Mobi

banta/mobile-money

This gem integrates with mobile money services in Kenya. The services include Kopo-Kopo and PesaPal