Logo Lanfrica

rahelFM/ethiopian-medical-data-warehouse

Domain:

healthcare

Record type:

softwareproject
Creator:
rah
Host:
# Ethiopian Medical Telegram Data Pipeline This project is an end-to-end data platform that scrapes public Telegram channels related to Ethiopian medical businesses, stores the data in a structured raw format (data lake), and prepares it for transformation and enrichment in a modern ELT pipeline. The goal is to analyze product mentions, image content, pricing trends, and posting activity. --- ## πŸš€ Project Objectives - Scrape messages and images from public Telegram channels. - Store raw, partitioned data in a data lake. - Load the raw data into PostgreSQL for transformation. - Prepare for YOLOv8 image enrichment and analytical API deployment using FastAPI. --- ## πŸ“ Project Structure ```bash . β”œβ”€β”€ data/ β”‚ └── raw/ β”‚ └── telegram_messages/ β”‚ └── YYYY-MM-DD/ β”‚ └── channel_name.json β”‚ └── images/ β”‚ └── channel_name/ β”œβ”€β”€ scripts/ β”‚ β”œβ”€β”€ scrape_telegram.py # Scrapes messages and images from Telegram β”‚ β”œβ”€β”€ load_raw_to_postgres.py # Loads JSON data into raw.telegram_messages table β”‚ └── test.py # One-time login script for Telegram (session setup) β”œβ”€β”€ Dockerfile β”œβ”€β”€ docker-compose.yml β”œβ”€β”€ .env # Environment variables (not committed) β”œβ”€β”€ .gitignore β”œβ”€β”€ requirements.txt └── README.md βœ… Tasks Completed πŸ”§ Task 0: Project Setup & Environment Management βœ… Initialized Git repository βœ… Created requirements.txt with all dependencies (Telethon, dbt, FastAPI, YOLO, Dagster, etc.) βœ… Wrote Dockerfile and docker-compose.yml to containerize the app and database βœ… Configured .env file for secrets (Telegram API credentials, DB settings) βœ… Verified reproducible local setup πŸ“₯ Task 1: Data Scraping and Collection βœ… Used Telethon to scrape messages and images from public channels like: @lobelia4cosmetics @tikvahpharma βœ… Stored raw message data in: bash Copy Edit data/raw/telegram_messages/YYYY-MM-DD/channel_name.json βœ… Downloaded image content to: swift Copy Edit data/raw/tel …

Languages