{"id":29040378,"url":"https://github.com/ayushman0511/data-warehouse-project1","last_synced_at":"2025-06-26T14:06:01.691Z","repository":{"id":296220302,"uuid":"991388372","full_name":"Ayushman0511/Data-Warehouse-Project1","owner":"Ayushman0511","description":"A comprehensive guide to building a data warehouse with SQL Server, including ETL processes, data modeling, and analytics.","archived":false,"fork":false,"pushed_at":"2025-06-05T18:56:31.000Z","size":3455,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-26T14:05:07.176Z","etag":null,"topics":["data","data-ana","data-anal","data-cleaning","data-enginee","data-lakehou","datalake","datasci","dataware","datawarehouse","datawarehousi","etl","etl-job","etl-pipeline","medallion","sql","sql-quer","sql-query","sql-server","sqlserver"],"latest_commit_sha":null,"homepage":"","language":"TSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ayushman0511.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-27T14:47:35.000Z","updated_at":"2025-06-05T18:56:33.000Z","dependencies_parsed_at":"2025-05-29T15:59:48.219Z","dependency_job_id":null,"html_url":"https://github.com/Ayushman0511/Data-Warehouse-Project1","commit_stats":null,"previous_names":["ayushman0511/data-warehouse-project1"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ayushman0511/Data-Warehouse-Project1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayushman0511%2FData-Warehouse-Project1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayushman0511%2FData-Warehouse-Project1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayushman0511%2FData-Warehouse-Project1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayushman0511%2FData-Warehouse-Project1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ayushman0511","download_url":"https://codeload.github.com/Ayushman0511/Data-Warehouse-Project1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayushman0511%2FData-Warehouse-Project1/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262081117,"owners_count":23255662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data","data-ana","data-anal","data-cleaning","data-enginee","data-lakehou","datalake","datasci","dataware","datawarehouse","datawarehousi","etl","etl-job","etl-pipeline","medallion","sql","sql-quer","sql-query","sql-server","sqlserver"],"created_at":"2025-06-26T14:05:06.248Z","updated_at":"2025-06-26T14:06:01.680Z","avatar_url":"https://github.com/Ayushman0511.png","language":"TSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📊Data-Warehouse-Project1\n\nWelcome to the Data Warehouse and Analytics Project repository! 🚀\nThis project demonstrates a comprehensive data warehousing and analytics solution, from building a data warehouse to generating actionable insights. Designed as a portfolio project, it also highlights industry best practices in data engineering and analytics that I have learnt so far.\n\n\n---\n## 🏗️ Data Architecture\n\nThe data architecture for this project follows Medallion Architecture **Bronze**, **Silver**, and **Gold** layers:\n![Data Architecture of DataWarehouse](docs/Architecture-of-DWH.png)\n\n1. **Bronze Layer**: Stores raw data as-is from the source systems. Data is ingested from CSV Files into SQL Server Database.\n2. **Silver Layer**: This layer includes data cleansing, standardization, and normalization processes to prepare data for analysis.\n3. **Gold Layer**: Houses business-ready data modeled into a star schema required for reporting and analytics.\n\n---\n## 📖 Project Overview\n\nThis project involves:\n\n1. **Data Architecture**: Designing a Modern Data Warehouse Using Medallion Architecture **Bronze**, **Silver**, and **Gold** layers.\n2. **ETL Pipelines**: Extracting, transforming, and loading data from source systems into the warehouse.\n3. **Data Modeling**: Developing fact and dimension tables optimized for analytical queries.\n4. **Analytics \u0026 Reporting**: Creating SQL-based reports and dashboards for actionable insights.\n\n\n---\n\n## 🛠️ Important Links \u0026 Tools:\n\nEverything is for Free!\n- **[Datasets](dataset/):** Access to the project dataset (csv files).\n- **[SQL Server Express](https://www.microsoft.com/en-us/sql-server/sql-server-downloads):** Lightweight server for hosting your SQL database.\n- **[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.\n- **[Git Repository](https://github.com/):** Set up a GitHub account and repository to manage, version, and collaborate on your code efficiently.\n- **[DrawIO](https://www.drawio.com/):** Design data architecture, models, flows, and diagrams.\n- **[Notion](https://www.notion.com/templates/sql-data-warehouse-project):** Get the Project Template from Notion\n- **[Notion Project Steps]([https://thankful-pangolin-2ca.notion.site/SQL-Data-Warehouse-Project-16ed041640ef80489667cfe2f380b269?pvs=4](https://www.notion.so/Data-Warehouse-Project-20091951d87b8040a337ec3dfdcd0282?source=copy_link)):** Access to All Project Phases and Tasks.\n\n---\n\n## 🚀 Project Requirements\n\n### Building the Data Warehouse (Data Engineering)\n\n#### Objective\nDevelop a modern data warehouse using SQL Server to consolidate sales data, enabling analytical reporting and informed decision-making.\n\n#### Specifications\n- **Data Sources**: Import data from two source systems (ERP and CRM) provided as CSV files.\n- **Data Quality**: Cleanse and resolve data quality issues prior to analysis.\n- **Integration**: Combine both sources into a single, user-friendly data model designed for analytical queries.\n- **Scope**: Focus on the latest dataset only; historization of data is not required.\n- **Documentation**: Provide clear documentation of the data model to support both business stakeholders and analytics teams.\n\n---\n\n### BI: Analytics \u0026 Reporting (Data Analysis)\n\n#### Objective\nDevelop SQL-based analytics to deliver detailed insights into:\n- **Customer Behavior**\n- **Product Performance**\n- **Sales Trends**\n\nThese insights empower stakeholders with key business metrics, enabling strategic decision-making.\n\n## 📂 Repository Structure\n```\ndata-warehouse-project/\n│\n├── dataset/                            # Raw datasets used for the project (ERP and CRM data)\n│\n├── docs/                               # Project documentation and architecture details\n│   ├── ETL.png                         # Draw.io file shows all different techniquies and methods of ETL\n│   ├── Architecture of DWH.png         # Draw.io file shows the project's architecture\n│   ├── data_catalog.md                 # Catalog of datasets, including field descriptions and metadata\n│   ├── Data_Flow.png                   # Draw.io file for the data flow diagram\n│   ├── data_models.png                 # Draw.io file for data models (star schema)\n│   ├── naming_conventions.md           # Consistent naming guidelines for tables, columns, and files\n│\n├── scripts/                            # SQL scripts for ETL and transformations\n|   ├── init_database.sql               # Script to initialize the bronze, silver and gold schemas \u0026 database (`datawarehouse`).\n│   ├── bronze/                         # Scripts for extracting and loading raw data\n|       ├── ddl_bronze.sql              # Script that defimes the metadata(schema) for loading the files.\n|       ├── procedure_load_bronze.sql   # Script that bulk-loads the data from the local device \u0026 provides debugging assist and execution time informations. \n│   ├── silver/                         # Scripts for cleaning and transforming data\n|       ├── ddl_silver.sql              # Script that defimes the metadata(schema) for loading the files.\n|       ├── procedure_load_silver.sql   # Script that transforms \u0026 cleans the data, then loads it from the bronze layer in to silver layer. Also provides debugging assist and execution time informations. \n│   ├── gold/                           # Scripts for creating analytical models\n│       ├── ddl_gold.sql                # Script for creating views and provide analytical abilities for the data from silver layer.\n|\n├── tests/                              # Test scripts and quality files\n│\n├── README.md                           # Project overview and instructions\n```\n---\n\n\n## 🌟 About Me\nHi there! I'm Ayushman Bhargav. My field of interest include Internet of Things(IoT), Data Science and Machine Learning(AI/ML) , working towards upgrading my skills and knowledge through a combined learning of Theoretical Concepts as well as using practical projects to advance my learning.\n\nLet's stay in touch! Feel free to connect with me via LinkedIn:\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.linkedin.com/in/ayushman-bhargav-94a448279\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white\" alt=\"LinkedIn Profile\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayushman0511%2Fdata-warehouse-project1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayushman0511%2Fdata-warehouse-project1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayushman0511%2Fdata-warehouse-project1/lists"}