# π 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 β¦