Logo Lanfrica

TheOrthman/naija-prices

Domain:

socioeconomic

Record type:

software
Creator:
The
Host:
\# πŸ‡³πŸ‡¬ Naija Prices β€” Lagos Food Market Tracker Real-time food price dashboard for Lagos markets (Mile 12, Oyingbo, Mushin, Daleko). Built as a data engineering portfolio project. \*\*Live Demo:\*\* `streamlit run dashboard/app.py` \## What it does \- Scrapes monthly Nairametrics food price surveys \- Tracks 12 staples: rice, beans, garri, tomato, pepper, yam, melon, fish, etc. \- Compares prices across 4 major Lagos markets \- Shows Month-on-Month trends with automatic insights \- Built for Nigeria's network conditions (offline cache fallback) \## Tech Stack \- \*\*Extract:\*\* Python requests, BeautifulSoup \- \*\*Load:\*\* SQLite, Pandas \- \*\*Transform:\*\* Pandas aggregation \- \*\*Orchestration:\*\* Simple Python pipeline (ready for Airflow) \- \*\*Dashboard:\*\* Streamlit \- \*\*Data Source:\*\* Nairametrics Monthly Food Price Watch \## Key Features βœ… Auto-detects cheapest market daily βœ… MoM change labels (e.g., "Beans πŸ”» -33.3%") βœ… Works offline with cached data βœ… 3-month historical trends \## Project Structure naija-prices/ β”œβ”€β”€ src/extract/scrape\_prices.py β”œβ”€β”€ src/load/load\_to\_sqlite.py β”œβ”€β”€ src/transform.py β”œβ”€β”€ dags/pipeline.py β”œβ”€β”€ dashboard/app.py β”œβ”€β”€ data/raw/ └── market\_prices.db \## How to Run ```bash git clone github.com cd naija-prices pip install -r requirements.txt python dags/pipeline.py streamlit run dashboard/app.py Sample Insight April 2026: Brown beans dropped 33% across Lagos (N180k β†’ N120k) while garri rose 25% due to dry season supply tightness. Why I Built This Nigeria lacks accessible, market-level food price data. This project demonstrates end-to-end data engineering skills while solving a real local problem. Built by Usman Ahmadu β€” Data Engineer in Lagos