https://github.com/datawithbaraa/sql-data-warehouse-project
A comprehensive guide to building a modern data warehouse with SQL Server, including ETL processes, data modeling, and analytics.
https://github.com/datawithbaraa/sql-data-warehouse-project
data-analysis data-analytics data-cleaning data-engineering data-lakehouse data-science data-warehouse data-warehousing datalake datascience datawarehouse datawarehousing etl etl-job etl-pipeline medallion-architecture sql sql-query sql-server sqlserver
Last synced: 2 months ago
JSON representation
A comprehensive guide to building a modern data warehouse with SQL Server, including ETL processes, data modeling, and analytics.
- Host: GitHub
- URL: https://github.com/datawithbaraa/sql-data-warehouse-project
- Owner: DataWithBaraa
- License: mit
- Created: 2024-12-30T09:15:55.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-04-01T05:22:55.000Z (2 months ago)
- Last Synced: 2025-04-06T11:07:24.814Z (2 months ago)
- Topics: data-analysis, data-analytics, data-cleaning, data-engineering, data-lakehouse, data-science, data-warehouse, data-warehousing, datalake, datascience, datawarehouse, datawarehousing, etl, etl-job, etl-pipeline, medallion-architecture, sql, sql-query, sql-server, sqlserver
- Language: TSQL
- Homepage: https://www.youtube.com/@DataWithBaraa
- Size: 20.5 MB
- Stars: 107
- Watchers: 2
- Forks: 96
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 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. Designed as a portfolio project, it highlights industry best practices in data engineering and analytics.---
## šļø Data ArchitectureThe data architecture for this project follows Medallion Architecture **Bronze**, **Silver**, and **Gold** layers:
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.---
## š Project OverviewThis 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.šÆ This repository is an excellent resource for professionals and students looking to showcase expertise in:
- SQL Development
- Data Architect
- Data Engineering
- ETL Pipeline Developer
- Data Modeling
- Data Analytics---
## š ļø Important Links & Tools:
Everything is for Free!
- **[Datasets](datasets/):** Access to the project dataset (csv files).
- **[SQL Server Express](https://www.microsoft.com/en-us/sql-server/sql-server-downloads):** Lightweight server for hosting your SQL database.
- **[SQL Server Management Studio (SSMS)](https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver16):** GUI for managing and interacting with databases.
- **[Git Repository](https://github.com/):** Set up a GitHub account and repository to manage, version, and collaborate on your code efficiently.
- **[DrawIO](https://www.drawio.com/):** Design data architecture, models, flows, and diagrams.
- **[Notion](https://www.notion.com/templates/sql-data-warehouse-project):** Get the Project Template from Notion
- **[Notion Project Steps](https://thankful-pangolin-2ca.notion.site/SQL-Data-Warehouse-Project-16ed041640ef80489667cfe2f380b269?pvs=4):** Access to All Project Phases and Tasks.---
## š 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.
For more details, refer to [docs/requirements.md](docs/requirements.md).
## š Repository Structure
```
data-warehouse-project/
ā
āāā datasets/ # Raw datasets used for the project (ERP and CRM data)
ā
āāā docs/ # Project documentation and architecture details
ā āāā etl.drawio # Draw.io file shows all different techniquies and methods of ETL
ā āāā data_architecture.drawio # Draw.io file shows the project's architecture
ā āāā data_catalog.md # Catalog of datasets, including field descriptions and metadata
ā āāā data_flow.drawio # Draw.io file for the data flow diagram
ā āāā data_models.drawio # Draw.io file for data models (star schema)
ā āāā naming-conventions.md # Consistent naming guidelines for tables, columns, and files
ā
āāā scripts/ # 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
āāā .gitignore # Files and directories to be ignored by Git
āāā requirements.txt # Dependencies and requirements for the project
```
---## ā Stay Connected
Let's stay in touch! Feel free to connect with me on the following platforms:
[](http://bit.ly/3GiCVUE)
[](https://linkedin.com/in/baraa-khatib-salkini)
[](https://www.datawithbaraa.com)
[](https://bit.ly/BaraaNewsletter)
[](https://paypal.me/baraasalkini)
[](https://www.youtube.com/@datawithbaraa)All Courses and their materials are completely free, and all I ask is your support through subscribing, liking, and commenting on my channel. Your engagement means the world to me and It help the channel!
- ā **SQL Full Course:** [Course Link](https://youtu.be/SSKVgrwhzus) | [Download Materials](https://www.datawithbaraa.com/sql-introduction/sql-ultimate-course/) | [GIT Repo](https://github.com/DataWithBaraa/sql-ultimate-course)
- ā **Tableau Full Course:** [Course Link](https://www.youtube.com/watch?v=K3pXnbniUcM) | [Download Materials](https://www.datawithbaraa.com/tableau/tableau-thank-you/) | [Public](https://public.tableau.com/app/profile/baraa.salkini/vizzes)- ā **SQL Data Warehouse Project:** [Course Link](https://youtu.be/SSKVgrwhzus) | [Download Materials](https://www.datawithbaraa.com/sql-introduction/advanced-sql-project/) | [GIT Repo](https://github.com/DataWithBaraa/sql-data-warehouse-project)
- ā **SQL Exploratory Data Analysis Project:** [Course Link](https://youtu.be/SSKVgrwhzus) | [Download Materials](https://www.datawithbaraa.com/sql-introduction/advanced-sql-analytics-project/) | [GIT Repo](https://github.com/DataWithBaraa/sql-data-analytics-project)
- ā **SQL Advanced Data Analysis Project:** [Course Link](https://youtu.be/SSKVgrwhzus) | [Download Materials](https://www.datawithbaraa.com/sql-introduction/advanced-sql-analytics-project/) | [GIT Repo](https://github.com/DataWithBaraa/sql-data-analytics-project)
- ā **Tableau Sales Project:** [Course Link](https://www.youtube.com/watch?v=dahrmqT5GD4) | [Download Materials](https://datawithbaraa.substack.com/p/access-to-course-materials) | [Public](https://public.tableau.com/app/profile/baraa.salkini/vizzes)
- ā **Tableau HR Project:** [Course Link](https://www.youtube.com/watch?v=UcGF09Awm4Y) | [Download Materials](https://datawithbaraa.substack.com/p/access-to-course-materials) | [Public](https://public.tableau.com/app/profile/baraa.salkini/vizzes)
- ā **ChatGPT:** [Course Link](https://www.youtube.com/watch?v=LJLNfei4i-c) | [Download Materials](https://datawithbaraa.substack.com/p/access-to-course-materials)---
## š”ļø License
This project is licensed under the [MIT License](LICENSE). You are free to use, modify, and share this project with proper attribution.
## š About Me
Hi there! I'm **Baraa Khatib Salkini**, also known as **Data With Baraa**. Iām an IT professional and passionate YouTuber on a mission to share knowledge and make working with data enjoyable and engaging!
Let's stay in touch! Feel free to connect with me on the following platforms:
[](http://bit.ly/3GiCVUE)
[](https://linkedin.com/in/baraa-khatib-salkini)
[](https://www.datawithbaraa.com)
[](https://bit.ly/BaraaNewsletter)
[](https://paypal.me/baraasalkini)
[](https://www.youtube.com/@datawithbaraa)