How manyampulendra/uae-retail-logistics-analytics works
This is a synthetic-data retail and logistics analytics project. Its main workflow generates CSV datasets, loads them into SQLite through a schema-driven ETL process, and presents filtered sales, customer, delivery, and product analysis in a Streamlit dashboard. SQL business queries and a Jupyter EDA notebook provide additional analysis paths; database verification supports the data workflow. The README documents the overall sequence, while sampled code confirms the ETL’s schema and CSV loading and the dashboard’s database reads. Some subsystem links rely on README documentation because their source was not sampled.
Main entry points: app.py Streamlit dashboard · uae_retail.db SQLite analytics database · etl.py CSV ETL loader · data Retail CSV datasets
Components 16
Data preparation
- Synthetic data generator
Python/python/generate_data.py - Retail CSV datasets
Data/data - CSV ETL loader
Python/python/etl.py
Database
- Relational schema
Sql/sql/01_schema.sql - SQLite analytics database
Data/data/uae_retail.db - Database verification
Python/python/verify_db.py
Analysis
- Business SQL analysis
Sql/sql/02_business_queries.sql - Top-products query runner
Python/python/run_query.py - Exploratory analysis
Notebooks/notebooks/01_eda.ipynb
Dashboard
- Streamlit dashboard
Dashboard/dashboard/app.py - Sales and revenue
Dashboard/dashboard/app.py - Customer RFM and cohorts
Dashboard/dashboard/app.py - Delivery performance
Dashboard/dashboard/app.py - Product mix
Dashboard/dashboard/app.py
Other components
- Business user
- Business insights
Connections 16
- Synthetic data generator → Retail CSV datasets: generates
README.md - Retail CSV datasets → CSV ETL loader: loads from
README.md - CSV ETL loader → Relational schema: applies
Python/python/etl.py - CSV ETL loader → SQLite analytics database: loads tables
Python/python/etl.py - CSV ETL loader → Retail CSV datasets: reads files
Python/python/etl.py - Database verification → SQLite analytics database: checks tables
Python/python/verify_db.py - Business SQL analysis → SQLite analytics database: analyzes
README.md - Top-products query runner → SQLite analytics database: queries
Python/python/run_query.py - Exploratory analysis → SQLite analytics database: analyzes
README.md - Business user → Streamlit dashboard: uses
README.md - Streamlit dashboard → SQLite analytics database: reads
Dashboard/dashboard/app.py - Streamlit dashboard → Sales and revenue: renders
Dashboard/dashboard/app.py - Streamlit dashboard → Customer RFM and cohorts: renders
Dashboard/dashboard/app.py - Streamlit dashboard → Delivery performance: renders
Dashboard/dashboard/app.py - Streamlit dashboard → Product mix: renders
Dashboard/dashboard/app.py - Streamlit dashboard → Business insights: presents
README.md