Skip to content

Brown bag session for presenting dbt to my coworkers

License

Notifications You must be signed in to change notification settings

LoHertel/dbt-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbt Demo

Aim of this demo is to create a simple datamart for demonstrating dbt as data transformation framework.

---
title: Reporting Data Model
---
erDiagram 
    fct_order_positions }o--|| dim_customers : Customer_Key
    fct_order_positions }o--|| dim_products : Product_Key
Loading

The data used is taken from an e-commerce dataset from the Brazilian e-commerce platform provider Olist, which was published on kaggle.

Download Data

Run the following code to download the dataset:

Note: Needs setup kaggle API

pipenv run python data/prepare_data.py --download

More information about the dataset and how to download and prepare the data could be found here in the data folder.

Upload Data to GCS

Upload the data to Google Cloud Storage (GCS).

Setup and Run dbt

Read here

Todo

  • Create step for step tutorial for developing the dbt models in this project

About

Brown bag session for presenting dbt to my coworkers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages