Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

56 Commits

Folders and files

Repository files navigation

πŸ“Š computer_sales_data_engineering_project

πŸš€ Project Overview

This project demonstrates the design and implementation of an end-to-end data engineering pipeline for a computer sales business. The goal is to transform raw transactional data into high-quality, analytics-ready datasets that support data-driven decision-making.

🧠 Business Problem The business lacked:

  • Centralized sales reporting

  • Visibility into product profitability

  • Insights into customer purchasing behavior

  • Performance tracking for sales employees

This project solves these challenges by building a scalable and automated data platform.

Repository structure

DATA ARCHITECTURE

data modelling planning Untitled Diagram

DATA SECURITY

πŸ” Data Security & Governance

To ensure secure and reliable data handling:

πŸ”’ Access Control

  • Role-Based Access Control (RBAC):

    • Data Engineer β†’ Full access
    • Data Analyst β†’ Read-only
    • Business manager β†’ Restricted views
andile_data_engineer_server_roles ketro_data_analyst_server_roles rhofiwa_business_manager_server_roles

DATASET

image

SCRIPTS

image

VERSION CONTROL

πŸ” Version Control

Version control was implemented using Git:

Key Practices:

  • Feature-based branching
  • Meaningful commit messages
  • Code version tracking
  • Collaboration-ready structure
image

README.md

``

Components:

  • Data Source: Raw PC sales dataset
  • **Ingestion: SQL scripts
  • Storage: Data lake (raw, processed, curated layers)
  • Transformation: SQL + Python
  • Warehouse: Structured star schema

πŸ”„ Data Engineering Workflow

1. Data Ingestion

  • Loaded raw CSV data using Python
  • Stored data in the raw layer of the data lake

2. Data Storage (Medallion Architecture)

  • Raw Layer: Original dataset**
  • Processed Layer: Cleaned and standardized data
  • Curated Layer: Business-ready datasets

3. Data Transformation

  • Handled missing values and inconsistencies
  • Standardized formats (dates, pricing, categories)

4. Data Modelling (Star Schema ⭐)

Fact Table:

Dimension Tables:

πŸ§ͺ Data Quality Checks

Implemented validation checks:

  • Null value detection
  • Duplicate removal
  • Invalid pricing checks

Ensures high data reliability and trust.


βš™οΈ Pipeline Automation

  • Automated workflows using orchestration (Airflow-ready design)
  • Scheduled data refreshes
  • Reduced manual intervention

☁️ Scalability & Future Improvements

  • Cloud migration (AWS / Azure)
  • Real-time streaming pipelines
  • Integration with APIs
  • Advanced analytics (ML models)

πŸ“ˆ Business Impact

This solution enables:

  • Better pricing strategies
  • Improved sales performance tracking
  • Data-driven decision making
  • Increased operational efficiency

πŸ› οΈ Tech Stack

  • Python
  • SQL
  • Ssms
  • Git & GitHub
  • (Optional: Airflow, Snowflake, AWS/Azure)

πŸ‘¨β€πŸ’» Author

Andile Dube

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages