Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DWH_BicycleStore 🚲

Project Overview

This project implements a modern Data Warehouse (DWH) for a Bicycle Store using the Medallion Architecture. The goal is to transform raw data from various sources into a structured, clean, and analytics-ready format to support business intelligence and decision-making.

The pipeline follows a structured approach of moving data through three distinct layers: Bronze, Silver, and Gold.

Data Architecture

Data Architecture

Data Flow

Data Flow

Architecture Layers

  1. Bronze Layer (Raw Data):
    • Contains the raw data ingested directly from source files (CSV and Parquet).
    • Acts as the single source of truth for the data warehouse.
  2. Silver Layer (Cleansed & Conformed):
    • Data is cleaned, filtered, and transformed.
    • Schema is enforced, and data quality checks are applied to ensure consistency.
  3. Gold Layer (Business Ready):
    • Data is aggregated and modeled into dimensional structures (Galaxy Schema).
    • Optimized for high-performance querying and BI tools.

Tech Stack

  • Language: Python
  • Data Processing: Pandas
  • Database Connectivity: SQLAlchemy & pyodbc
  • Database: Microsoft SQL Server
  • Storage Formats: CSV, Parquet
  • Environment Management: venv (Virtual Environment)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/DWH_BicycleStore.git
    cd DWH_BicycleStore
  2. Create and activate a virtual environment:

    python -m venv .venv
    # On Windows:
    .venv\Scripts\activate
    # On macOS/Linux:
    source .venv/bin/activate
  3. Install dependencies:

    pip install -r requirements.txt
  4. Configure your database connection in scripts/config/database.py.

  5. Run the ingestion script to populate the Bronze layer:

    python -m scripts.loading.load_to_sql

About

End-to-end Data Engineering project for a Bicycle Store, using SQL Server and Python to build a Medallion Architecture data warehouse with Bronze, Silver, and Gold layers.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages