Skip to content

This repository showcases data modeling techniques using dbt Core and Snowflake for a Retail company.

Notifications You must be signed in to change notification settings

mustafa0taru/data-modeling-with-dbt-core-and-snowflake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Modeling with dbt Core and Snowflake

This project implements a complete data model for an e-commerce dataset using dbt Core and Snowflake. It transforms raw CSV data into a well-structured, analytics-ready model within two Snowflake databases: raw and analytics.

The purpose;

  • Transform raw CSV data into a well-structured, analytics-ready model accessible in Snowflake.
  • Enable efficient querying and analysis of e-commerce metrics like sales trends, customer behavior, and product performance.
  • Provide a foundation for building dashboards, reports, and further analytical models.

Tools Used;

  • Snowflake
  • dbt Core
  • git
  • VS Code (IDE)

The architechture

Untitled

Key features include:

  • Stage area: Transforms and cleans raw data before loading into dimensions and facts. staging

  • Dimensional tables: Stores normalized attributes for customers, products, categories, shippers, and employees.

  • Fact tables: Aggregates sales data from orders and order details for analysis. analytics

  • dbt Core: Automates model development, testing, and deployment for reliable data pipelines.

The tables and the ERP Diagram generated

  • Orders
  • Orders details
  • Customers
  • Employees
  • Products
  • Categories
  • Shippers

ERP Diagram The ERP Diagram

Documentation:

  • Model descriptions and documentation can be found in the models directory.
  • For general dbt documentation, refer to https://docs.getdbt.com.

About

This repository showcases data modeling techniques using dbt Core and Snowflake for a Retail company.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages