How gloriafalves/retail-data-analysis works
This repository is a retail analytics and data-science project. Its documented workflow spans sales-data exploration, schema inference and PostgreSQL loading, SQL business analysis, demand forecasting and item recommendations; a Power BI dashboard is documented but is not present in the supplied tree. The ingestion excerpts support the schema-generation and CSV-loading responsibilities, but do not establish that their differing schema paths are wired together. SQL and notebooks are represented by their documented roles; their internal calls and data transfers were not sampled.
Main entry points: q2_inferencia_schema.py Schema inference · q3_carga_dados.py CSV loader · q1_eda.sql Sales EDA · schema.sql Generated DDL
Components 12
Data exploration
- Sales EDA
01_eda_sql/q1_eda.sql
Data ingestion
- Schema inference
02_pipeline_ingestao/q2_inferencia_schema.py - Generated DDL
02_pipeline_ingestao/schema.sql - CSV loader
02_pipeline_ingestao/q3_carga_dados.py - PostgreSQL
SQL analysis
- Customer analysis
03_analises_sql/q4_analise_clientes.sql - Calendar dimension
03_analises_sql/q5_dimensao_calendario.sql
Data science
- Demand forecast
04_data_science/q6_previsao_demanda.ipynb - Item recommender
04_data_science/q7_sistema_recomendacao.ipynb
Business intelligence
- Executive dashboard
Other components
- Analyst
- ERP CSVs
Connections 13
- Analyst → Sales EDA: explores sales
README.md - ERP CSVs → Sales EDA: examines orders
README.md - Analyst → Schema inference: initiates inference
02_pipeline_ingestao/q2_inferencia_schema.py - ERP CSVs → Schema inference: samples CSVs
02_pipeline_ingestao/q2_inferencia_schema.py - Schema inference → Generated DDL: generates schema
02_pipeline_ingestao/q2_inferencia_schema.py - Analyst → CSV loader: initiates loading
02_pipeline_ingestao/q3_carga_dados.py - ERP CSVs → CSV loader: reads CSVs
02_pipeline_ingestao/q3_carga_dados.py - CSV loader → PostgreSQL: creates and loads
02_pipeline_ingestao/q3_carga_dados.py - Analyst → Customer analysis: segments customers
README.md - Analyst → Calendar dimension: builds date dimension
README.md - Analyst → Demand forecast: forecasts demand
README.md - Analyst → Item recommender: requests recommendations
README.md - Analyst → Executive dashboard: reviews performance
README.md