Load distribution center as a dbt seed file
Now that your dbt project has been initialized, it is time to load your first data file. There are seven data files to load, and you should start with the smallest and scale up from there.
The looker__distribution_centers.csv
is a small static csv file since an e-commerce business can only have so many distribution centers (warehouses). That's why you should load this via dbt seed
.
In order for dbt to correctly pick this up as a seed file, it will need to be first loaded into the seeds/
directory. Then, after running dbt seed
, you will be able to reference this seed file in your data models and downstream ELT pipelines.
This exercise is part of the course
Case Study: Building E-Commerce Data Models with dbt
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
