Home
Softono
sql-data-warehouse

sql-data-warehouse

Open source MIT TSQL
28
Stars
12
Forks
0
Issues
1
Watchers
1 year
Last Commit

About sql-data-warehouse

Building a modern data warehouse with SQL server, including ETL processes, data modeling, and analytics.

Platforms

Web Self-hosted

Languages

TSQL

Links

Data Warehouse and Analytics Project

Welcome to the Data Warehouse and Analytics Project repository! πŸš€
This project demonstrates a comprehensive data warehousing and analytics solution, from building a data warehouse to generating actionable insights.


πŸ“… Project Planning

You can find the detailed project planning on Notion: SQL Data Warehouse Project


πŸ—οΈ Data Architecture

The data architecture for this project follows Medallion Architecture Bronze, Silver, and Gold layers: Data Architecture

  1. Bronze Layer: Stores raw data as-is from the source systems. Data is ingested from CSV Files into SQL Server Database.
  2. Silver Layer: This layer includes data cleansing, standardization, and normalization processes to prepare data for analysis.
  3. Gold Layer: Houses business-ready data modeled into a star schema required for reporting and analytics.

This project involves:

  1. Data Architecture: Designing a Modern Data Warehouse Using Medallion Architecture Bronze, Silver, and Gold layers.
  2. ETL Pipelines: Extracting, transforming, and loading data from source systems into the warehouse.
  3. Data Modeling: Developing fact and dimension tables optimized for analytical queries.
  4. Analytics & Reporting: Creating SQL-based reports and dashboards for actionable insights.

πŸš€ Project Requirements

Building the Data Warehouse (Data Engineering)

Objective

Develop a modern data warehouse using SQL Server to consolidate sales data, enabling analytical reporting and informed decision-making.

Specifications

  • Data Sources: Import data from two source systems (ERP and CRM) provided as CSV files.
  • Data Quality: Cleanse and resolve data quality issues prior to analysis.
  • Integration: Combine both sources into a single, user-friendly data model designed for analytical queries.
  • Scope: Focus on the latest dataset only; historization of data is not required.
  • Documentation: Provide clear documentation of the data model to support both business stakeholders and analytics teams.


BI: Analytics & Reporting (Data Analysis)

Objective

Develop SQL-based analytics to deliver detailed insights into:

  • Customer Behavior
  • Product Performance
  • Sales Trends

These insights empower stakeholders with key business metrics, enabling strategic decision-making.

πŸ“‚ Repository Structure

sql_data_warehouse/                     # Root directory of the project
β”‚
β”œβ”€β”€ datasets/                           # Raw datasets used for the project (ERP and CRM data)
β”‚
β”œβ”€β”€ docs/                               # Project documentation and architecture details
β”‚
β”œβ”€β”€ scripts/advanced_analytics/         # Advanced analytics scripts for data analysis and reporting
β”‚
β”œβ”€β”€ scripts/exploratory_data_analysis/  # Exploratory data analysis scripts for initial data exploration
β”‚
β”œβ”€β”€ scripts/warehouse/                  # SQL scripts for ETL and transformations
β”‚   β”œβ”€β”€ bronze/                         # Scripts for extracting and loading raw data
β”‚   β”œβ”€β”€ silver/                         # Scripts for cleaning and transforming data
β”‚   β”œβ”€β”€ gold/                           # Scripts for creating analytical models
β”‚
β”œβ”€β”€ tests/                              # Test scripts and quality files
β”‚
β”œβ”€β”€ README.md                           # Project overview and instructions
β”œβ”€β”€ LICENSE                             # License information for the repository

πŸ›‘οΈ License

This project is licensed under the MIT License. You are free to use, modify, and share this project with proper attribution.