Logo Lanfrica

Chris-Ndungu/African-Market-Intelligence

Domain:

socioeconomic

Record type:

software
Creator:
Chr
Host:
# 🌍 African Market Intelligence Pipeline > **Automated macroeconomic data pipeline covering 54 African countries** β€” from raw API ingestion to query-optimised BigQuery analytics models, refreshed daily. Built to demonstrate production-grade data engineering: batch ingestion, dbt modelling, orchestration, and data quality β€” on a real-world African macroeconomic dataset. --- ## 🧩 The Problem Organisations operating in African markets β€” investors, development finance institutions, consultancies, and multinationals β€” face a persistent problem: macroeconomic data is **fragmented, inconsistently formatted, and manually intensive to gather**. | Pain Point | Current State | Impact | |---|---|---| | Fragmented data sources | World Bank, IMF, and national statistics portals each use different formats and access methods | Analysts spend 3–5 hours per country gathering baseline data | | No single source of truth | Exchange rate data in one spreadsheet, GDP in another, CPI in a third | Inconsistent figures across reports, version control failures | | Manual refresh cycles | Data updated manually when someone remembers β€” weekly at best | Decisions made on stale figures, no alerting when data goes out of date | | No data quality controls | No automated checks for missing values, outliers, or schema changes | Silent data quality failures go undetected until they surface in a report | This pipeline closes that gap. --- ## πŸ—οΈ Architecture ``` β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ DATA SOURCES β”‚ β”‚ World Bank API Β· IMF Data API Β· ExchangeRate-API β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ Daily ingestion β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ INGESTION LAYER β”‚ β”‚ Python scripts (world_bank.py Β· imf.py Β· fx_rates.py) β”‚ β”‚ HTTP fetch β†’ schema validati …