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.

Elish-Ab/ethiopian-medical-data-warehouse

Record type:

software
Creator:
Eli
Host:
# πŸ“Œ Telegram Data Processing Pipeline This project is designed to scrape, clean, and store Telegram e-commerce data in a structured format for analysis. The pipeline consists of data scraping, cleaning, and storage in a database. ## πŸ›  Project Structure ``` WEEK7/ │── data/ # Raw and cleaned data storage β”‚ β”œβ”€β”€ CheMed123_data.csv β”‚ β”œβ”€β”€ DoctorsET_data.csv β”‚ β”œβ”€β”€ EAHCI_data.csv β”‚ β”œβ”€β”€ lobelia4cosmetics_data.csv β”‚ β”œβ”€β”€ yetenaweg_data.csv β”‚ β”œβ”€β”€ cleaned_telegram_data.csv # Cleaned merged dataset │── logs/ # Logging directory │── notebook/ # Jupyter Notebooks for analysis β”‚ β”œβ”€β”€ data_cleaning_loading.ipynb │── scripts/ # Python scripts for processing β”‚ β”œβ”€β”€ data_cleaning.py # Functions for data cleaning β”‚ β”œβ”€β”€ database_setup.py # Database connection and table creation β”‚ β”œβ”€β”€ scrape_data.py # Telegram data scraper │── .env # Environment variables │── .gitignore # Files to ignore in version control │── channels.json # List of Telegram channels │── requirements.txt # Required Python dependencies │── run_scraper.sh # Shell script to execute scraper │── README.md # Project documentation ``` ## πŸš€ How to Run the Project 1️⃣ Set Up the Environment Ensure you have Python 3.8+ installed. Create a virtual environment and install dependencies: ```bash python -m venv .venv source .venv/bin/activate # On Windows use: .venv\Scripts\activate pip install -r requirements.txt ``` 2️⃣ Configure Environment Variables Create a .env file inside the project directory: ```bash DB_NAME=your_database DB_USER=your_user DB_PASSWORD=your_password DB_HOST=localhost DB_PORT=5432 ``` 3️⃣ Scrape Data from Telegram Run the scraper to collect messages and store them in CSV format: ```bash python scripts/scrape_data.py ``` 4️⃣ Clean the …

Visit

github.com

Languages

Amharic