Skip to main content
Ctrl+K
Cal-ITP Data Services - Home
  • Data Services Documentation

Analysts

  • Welcome!
    • Cal-ITP Project Information
    • How We Work
  • Technical Onboarding
  • Introduction to Analytics Tools
    • GitHub Setup
    • Tools Quick Links
    • Business Insights & Dashboards
    • JupyterHub
    • Local Oracle Database Connections
    • Useful Python Libraries
    • Scripts
    • RT Analysis Module
    • Saving Code
    • Storing Data During Analysis
    • Using Data Catalogs
    • Helpful Links
  • Tutorials for New Python Users
    • Data Analysis: Intro
    • Data Analysis: Intermediate
    • Data Management
    • Working with Jupyter notebooks
    • Working with Geospatial Data: Basics
    • Working with Geospatial Data: Intro
    • Working with Geospatial Data: Intermediate
    • Working with Geospatial Data: Advanced
  • Introduction to the Warehouse
    • Warehouse: Where to Begin
    • Navigating the dbt Docs
    • What is an agency?
    • Developing models in dbt
    • Adding Ad-Hoc Data to the Warehouse
    • What is GTFS, anyway?
  • Where can I publish data?
    • Data Publishing Principles
    • Static Visualizations
    • HTML Visualizations
    • Getting Notebooks Ready for the Portfolio
    • The Cal-ITP Analytics Portfolio
    • Metabase
    • GCS
    • Publishing data to California Open Data aka CKAN
    • Publishing data to California State Geoportal

Developers

  • Architecture Overview
    • Deployed Services and Sites
    • Published Images and Packages
    • Data pipelines
  • Airflow Operational Considerations
  • Transit Database (Airtable)

Contribute to the Docs!

  • Getting Started
    • Best Practices
    • Submitting Changes
    • Common Content
  • Repository
  • Suggest edit
  • Open issue
  • .md

Navigating the dbt Docs

Contents

  • How to use the documentation
    • The Database Perspective
    • The Project Perspective

Navigating the dbt Docs#

dbt is the tool that we use to create data transformations in our warehouse, and it is also the tool that generates our dataset and table documentation.

Visit this link to view the dbt Cal-ITP warehouse documentation.

How to use the documentation#

In the dbt Cal-ITP warehouse documentation, you can navigate from either the Database perspective (table-level) or the Project perspective (as the files are configured in the repository).

The Database Perspective#

This allows you to view the dbt project as it exists in the warehouse.

To examine the documentation from the Database perspective:

  1. Once at the dbt docs homepage, make sure that the Database tab is selected in the left-side panel

  2. In the same left-side panel, under the Tables and Views heading, click on cal-itp-data-infra which will expand

  3. Within that list, select the dataset schema of your choice

  4. From here, a dropdown list of tables will appear and you can select a table to view its documentation

The Project Perspective#

This allows you to view the warehouse project as it exists as files in the repository.

To examine the documentation for our tables from the Project perspective:

  • Once at the dbt docs homepage, make sure that the Project tab is selected in the left-side panel.

    • To examine our source tables:

      1. In the same left-side panel, find the Sources heading

      2. From here, select the source that you would like to view

      3. A dropdown list of tables will appear and you can select a table to view its documentation

    • To examine all of our other tables:

      1. In the same left-side panel, under the Projects, heading click on calitp_warehouse which will expand.

      2. Within that list, select models

      3. From here, file directories will appear below.

      4. Select the directory of your choice. A dropdown list of tables will appear and you can select a table to view its documentation

previous

Warehouse: Where to Begin

next

What is an agency?

Contents
  • How to use the documentation
    • The Database Perspective
    • The Project Perspective

By Cal-ITP

© Copyright 2023.