From the course: End-to-End Data Engineering Project

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Automating documentation in dbt

Automating documentation in dbt

- Documentation may not be as exciting as coding or modeling, but let me tell you, it is a hidden treasure that enables efficient and effective teamwork in analytics. Imagine that you are a newcomer into a team and you are handed a DBT project. You open it up and it's just code, just a vast sea of SQL files and you are supposed to navigate that. Sounds daunting, right? But what if there is a map? Well-structured and detailed documentation acts like that map. One tricky part about documentation is that it tends to lag behind code. DBT brings coding and documentation closer together to make your life easier. For example, in DBT, your SQL models can come together with YAML files that document them. This type coupling means that your code and your documentation can evolve with one another and remove the usual disconnect. It is time to document our models. Let's start with the staging ones. Open your staging…

Contents