https://github.com/jsrl/sql-data-warehouse
Building a modern data warehouse with SQL server, including ETL processes, data modeling, and analytics.
https://github.com/jsrl/sql-data-warehouse
data-warehouse etl medallion-architecture sql
Last synced: 2 months ago
JSON representation
Building a modern data warehouse with SQL server, including ETL processes, data modeling, and analytics.
- Host: GitHub
- URL: https://github.com/jsrl/sql-data-warehouse
- Owner: jsrl
- License: mit
- Created: 2025-05-01T15:09:31.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-05-03T15:43:34.000Z (11 months ago)
- Last Synced: 2025-05-16T16:13:43.412Z (11 months ago)
- Topics: data-warehouse, etl, medallion-architecture, sql
- Language: TSQL
- Homepage:
- Size: 2.67 MB
- Stars: 26
- Watchers: 1
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- 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.
---
## 📅 Project Planning
You can find the detailed project planning on Notion: [SQL Data Warehouse Project](https://jorofer.notion.site/SQL-Data-Warehouse-Project-1e6399e940ff800392afed37176fa2c2)
---
## 🏗️ Data Architecture
The 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.
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](LICENSE). You are free to use, modify, and share this project with proper attribution.