How ali-asif-git/hospital-opd-wait-time-analysis works
This repository is an outpatient wait-time analytics project, not a live prediction service. Its workflow cleans visit data, analyzes it with SQL and pandas, trains a prediction model, and exports summaries for a three-page Power BI dashboard. The README documents these stages and their data flow; source excerpts were not available, so implementation-level calls and dashboard wiring cannot be verified.
Main entry points: opd_visits_clean.csv Clean visits · 01_data_cleaning.ipynb Data cleaning · 02_wait_time_prediction.ipynb Wait prediction · 04_export_for_powerbi.ipynb Dashboard exports
Components 10
Data preparation
- Raw visits
data/raw - Data cleaning
notebooks/01_data_cleaning.ipynb - Clean visits
data/processed/opd_visits_clean.csv
Analysis and prediction
- SQL analysis
sql/analysis_queries.sql - Pandas EDA
notebooks/03_pandas_analysis.ipynb - Wait prediction
notebooks/02_wait_time_prediction.ipynb - Trained model
models/wait_time_model.pkl
Reporting
- Dashboard exports
notebooks/04_export_for_powerbi.ipynb - Power BI tables
dashboard/powerbi_data - Power BI dashboard
dashboard
Connections 9
- Raw visits → Data cleaning: provides data
README.md - Data cleaning → Clean visits: exports cleaned data
README.md - Clean visits → SQL analysis: analyzed by
README.md - Clean visits → Pandas EDA: analyzed by
README.md - Clean visits → Wait prediction: trains models
README.md - Wait prediction → Trained model: exports model
README.md - Clean visits → Dashboard exports: aggregated for
README.md - Dashboard exports → Power BI tables: exports tables
README.md - Power BI tables → Power BI dashboard: feeds dashboard
README.md