How vedanshprakash/blinkit-grocery-insights works
BlinkIT Grocery Sales is an end-to-end retail analytics project. Its main workflow cleans raw sales data into a reusable dataset, then supports SQLite/SQL analysis, statistical exploration, model training, and an interactive Streamlit dashboard with sales prediction. The graph includes the documented SQL capability and dashboard branches; SQL files themselves were not sampled, so their relationships rely on the README. Dashboard and pipeline behavior are represented only where the supplied excerpts or README establish it.
Main entry points: blinkit_cleaned.csv Cleaned dataset · run_pipeline.py Pipeline runner · ml_sales_prediction.py Model training · data_cleaning.py Cleaning and features
Components 15
Data preparation
- Pipeline runner
run_pipeline.py - Raw sales data
data/raw/blinkit_raw.csv - Cleaning and features
src/data_cleaning.py - Cleaned dataset
data/processed/blinkit_cleaned.csv - SQLite loader
src/load_to_db.py - Sales database
database/blinkit.db
Analytics
- SQL analytics
sql - Statistical analysis
src/eda_analysis.py - Analysis charts
reports/figures
Predictive modeling
- Model training
src/ml_sales_prediction.py - Model comparison
reports/model_performance.json - Prediction artifacts
reports/rf_model.joblib
Interactive dashboard
- Insights dashboard
dashboard/app.py
Other components
- Analyst
- Dashboard user
Connections 17
- Pipeline runner → Cleaning and features: runs
run_pipeline.py - Pipeline runner → SQLite loader: runs
run_pipeline.py - Pipeline runner → Statistical analysis: runs
run_pipeline.py - Pipeline runner → Model training: runs
run_pipeline.py - Cleaning and features → Raw sales data: reads
src/data_cleaning.py - Cleaning and features → Cleaned dataset: writes
src/data_cleaning.py - SQLite loader → Cleaned dataset: reads
src/load_to_db.py - SQLite loader → Sales database: loads
src/load_to_db.py - Sales database → SQL analytics: queried by
README.md - Statistical analysis → Cleaned dataset: reads
src/eda_analysis.py - Statistical analysis → Analysis charts: writes charts
src/eda_analysis.py - Model training → Cleaned dataset: reads
src/ml_sales_prediction.py - Model training → Model comparison: writes
src/ml_sales_prediction.py - Model training → Prediction artifacts: exports
src/ml_sales_prediction.py - Insights dashboard → Cleaned dataset: loads
dashboard/app.py - Insights dashboard → Prediction artifacts: loads
dashboard/app.py - Dashboard user → Insights dashboard: uses
README.md