Sample dbt project transforming raw e-commerce data into analytics-ready dimensional models using Kimball methodology, deployed on Snowflake cloud data warehouse.
- ✅ Dimensional modeling (star schema with facts and dimensions)
- ✅ Staging layer for data cleaning and standardization
- ✅ 10+ data quality tests ensuring data integrity
- ✅ Comprehensive documentation and business logic
- ✅ Built following dbt best practices
- Transformation: dbt Cloud
- Data Warehouse: Snowflake
- Version Control: Git/GitHub
- Languages: SQL, Jinja templating
models
-
marts
- finance
- fct_orders.sql
- marketing
- dim_customers.sql
- finance
-
staging
- jaffle_shop
- stg_jaffle_shop__customers.sql
- stg_jaffle_shop__orders.sql
- stripe
- stg_stripe__payments.sql
- jaffle_shop
Data Flow:
Raw Data (Snowflake RAW DB) ↓ Staging Models (data cleaning) ↓ Mart Models (dimensional models) ↓ Analytics-Ready Data (Snowflake ANALYTICS DB)
- Schema tests on all models
- Referential integrity validation
- Not-null checks on critical fields
- Unique key constraints
- Custom business logic tests
Transformation flow from staging to dimensional models
RAW and ANALYTICS database organization
10+ passing data quality tests
- Snowflake account
- dbt Cloud account (or dbt Core installed)
- Access to sample e-commerce data
- Clone this repository
- Configure Snowflake connection in dbt
- Run
dbt depsto install dependencies - Run
dbt runto build models - Run
dbt testto validate data quality
- Customer behavior analysis
- Order trend analytics
- Product performance metrics
- Revenue reporting
- Payment processing monitoring
Built as part of dbt Fundamentals certification to demonstrate modern data transformation practices including dimensional modeling, data quality testing, and documentation-as-code principles.
Eric Halverson
- 📧 ericleifhalverson@gmail.com
- 🌐 Portland, OR
Seeking Solutions Engineer / Solutions Architect roles in modern data stack companies