An open API service indexing awesome lists of open source software.

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.

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:
![Data Architecture](docs/architecture.png)

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.