How shavkatjony/brazilian-e-market works
This repository is a SQL-first business analysis of the Olist Brazilian e-commerce dataset. The main workflow loads raw CSVs into SQLite, runs SQL analyses for five operational questions, then presents charts and interpretation in a notebook and executive findings report. The README documents these stages and their relationships; source excerpts show the database loader, but the SQL and notebook implementations were not sampled, so their internal calls are not asserted.
Main entry points: analysis.ipynb Analysis narrative · create_db.py CSV database loader · notebook Notebook chart queries · 00_exploration.sql Data exploration
Components 13
Data ingestion
- CSV database loader
src/create_db.py - SQLite database
Business analysis
- Data exploration
sql/00_exploration.sql - At-risk customers
sql/01_at_risk_customers.sql - Delivery and reviews
sql/02_delivery_vs_reviews.sql - Seller performance
sql/03_seller_performance.sql - Cohort retention
sql/04_cohort_retention.sql - Logistics bottlenecks
sql/05_logistics_bottlenecks.sql - Notebook chart queries
sql/notebook
Insights and reporting
- Analysis narrative
notebooks/analysis.ipynb - Analysis figures
reports/figures - Executive findings
reports/findings.md
Other components
- Olist CSV dataset
Connections 12
- Olist CSV dataset → CSV database loader: provides CSVs
README.md - CSV database loader → SQLite database: loads tables
src/create_db.py - SQLite database → Data exploration: queries data
README.md - SQLite database → At-risk customers: queries data
README.md - SQLite database → Delivery and reviews: queries data
README.md - SQLite database → Seller performance: queries data
README.md - SQLite database → Cohort retention: queries data
README.md - SQLite database → Logistics bottlenecks: queries data
README.md - SQLite database → Notebook chart queries: queries data
README.md - Notebook chart queries → Analysis narrative: feeds charts
README.md - Analysis narrative → Analysis figures: produces charts
README.md - Analysis narrative → Executive findings: summarizes insights
README.md