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.

mbuguakevvz/lenslink

Domain:

healthcarenatural language processing

Record type:

software
Creator:
mbu
Host:
End-to-end data engineering pipeline tracking glasses adherence and beneficiary sentiment across community eyewear outreach programs in Kenya. Built with Python, DuckDB, TextBlob, and Streamlit. # 👓 LensLink — Adherence & Sentiment Pipeline for Community Eyewear Programs ## 🌍 Overview LensLink is an end-to-end data engineering pipeline that tracks **glasses adherence** and **beneficiary sentiment** across community eyewear outreach programs in Kenya. Over 800 million people globally need glasses but don't have them. Free eyewear programs distribute glasses — but rarely follow up to know if they're actually being used. LensLink solves that data gap. --- ## 🏗️ Architecture--- ## 📊 Key Metrics Tracked - **Adherence Rate** — % of beneficiaries still wearing glasses at weeks 4, 12, 24 - **Cohort Retention Curves** — by program and age group - **Dropout Risk Profiles** — reason, timing, demographics - **Sentiment Score** — TextBlob polarity on free-text feedback - **Theme Detection** — stigma, comfort, loss, breakage, gratitude, improvement - **Program Health Scorecard** — 🟢 Healthy / 🟡 At Risk / 🔴 Critical --- ## 🗂️ Project Structure--- ## ⚙️ Setup & Run ```bash # 1. Clone the repo git clone github.com cd lenslink # 2. Create virtual environment python -m venv venv venv\Scripts\Activate.ps1 # Windows PowerShell # 3. Install dependencies pip install -r requirements.txt # 4. Generate synthetic data python data/generate_data.py # 5. Run ingestion python ingestion/ingest.py # 6. Run transformations python transforms/transform.py python transforms/cohort_analysis.py # 7. Run sentiment pipeline python sentiment/sentiment_pipeline.py # 8. Launch dashboard streamlit run dashboard/app.py ``` --- ## 🔍 Sample Insights (from synthetic data) | Program | Avg Adherence | Sentiment | Status | |---|---|---|---| | Meru Outreach | 81.6% | 60.8% positive | 🟢 Healthy | | Nairobi Vision Drive | 76.8% | 65.9% positive | 🟡 At Risk | | Nakuru EyeCare | 75.1% | 63.6% positive | 🟡 At Risk | | Kisumu Sight Camp | 72.1% | 55.3% positive | 🟡 At Risk | **Top dropout reasons:** Unknown · Discomfort · Social Stigma · Broke Glass …

Visit

github.com

Languages

Kenyan Sign Language

Similar

mbuguakevvz/HumanImpactPlatformmbuguakevvz/kenya-demand-forecastmbuguakevvz/outbreak-shield-aimbuguakevvz/clinical-trial-trackermbuguakevvz/social-impact-pipelinembuguakevvz/green-energy-optimizer

mbuguakevvz/HumanImpactPlatform

Blockchain-verified humanitarian impact measurement platform — Kenya ASAL programs # Human Impact

mbuguakevvz/kenya-demand-forecast

Demand Forecasting & Inventory Optimization Pipeline for Kenyan Retail # Kenya Demand Forecasting &

mbuguakevvz/outbreak-shield-ai

Disease Surveillance Early Warning System for East Africa # Outbreak Shield AI - Disease Surveilla

mbuguakevvz/clinical-trial-tracker

Clinical Trial Supply Chain Tracker - 35,000+ records across US + 29 African countries. FDA-complian

mbuguakevvz/social-impact-pipeline

Interoperability pipeline unifying UNHCR, WHO AFRO & World Bank data for Kenya # 🇰🇪 Kenya Social Im

mbuguakevvz/green-energy-optimizer

End-to-end data engineering pipeline optimizing green energy deployment across East Africa using Wor