How skarshad1928/retail_store_analysis works
This is a student retail-analytics project built around a PySpark ETL and exploratory-analysis workflow. Users create a Spark session, load data files, clean and inspect DataFrames, then explore results through analysis notebooks and dashboard visualizations. The README also describes warehouse loading and statistical validation, but the sampled source does not show their implementations or wiring; those capabilities are represented as documented stages, not asserted code calls. Edges reflect explicit README workflow statements or visible source behavior.
Main entry points: src Data Warehouse · DataCleaning and Feature Engineering.ipynb Data Cleaning · Load and Understand.ipynb Data Exploration · readingfiles.py File Reader
Components 13
ETL and Data
- Spark Session
src/spark_session.py - File Reader
src/readingfiles.py - Data Cleaning
notebooks/DataCleaning and Feature Engineering.ipynb - Data Checks
src/transformations.py - Data Warehouse
src
Exploration
- Data Catalog
src/catalog.py - EDA Dashboard
src/dashboard.py - Data Exploration
notebooks/Load and Understand.ipynb
Retail Analysis
- RFM Analysis
notebooks/RFM_Analysis.ipynb - Product Segments
notebooks/product_segment_analysis.ipynb - Business Insights
src
Statistical Validation
Other components
- Analyst
Connections 14
- Analyst → Spark Session: starts session
src/spark_session.py - Spark Session → File Reader: provides session
src/readingfiles.py - Analyst → File Reader: loads files
- File Reader → Data Cleaning: feeds workflow
Readme.md - Data Cleaning → Data Checks: checks data
- Data Cleaning → Data Warehouse: loads tables
Readme.md - Data Warehouse → Data Exploration: feeds analysis
Readme.md - Data Exploration → Data Catalog: inspects data
- Data Exploration → EDA Dashboard: visualizes data
- Data Warehouse → RFM Analysis: supports analysis
- Data Warehouse → Product Segments: supports analysis
- RFM Analysis → Statistical Validation: validates findings
- Product Segments → Business Insights: informs decisions
Readme.md - Statistical Validation → Business Insights: supports conclusions
Readme.md