cal-itp / data-infra

Cal-ITP data infrastructure
https://docs.calitp.org/data-infra
GNU Affero General Public License v3.0
48 stars 13 forks source link

Reports Update: Adds a query that produces gtfs rt and vp completeness #3424

Closed vevetron closed 2 months ago

vevetron commented 2 months ago

Description

A query for use in reports.

Recreates: tu completeness and vp completeness

I don't know if I need to provide tests or more descriptions, list out the variable names, etc.

It's calitp-id focused. Maybe it should be more general?

Type of change

How has this been tested?

poetry run dbt run -s +fct_daily_trip_updates_vehicle_positions_completeness Results match the dashboards

Post-merge follow-ups

Document any actions that must be taken post-merge to deploy or otherwise implement the changes in this PR (for example, running a full refresh of some incremental model in dbt). If these actions will take more than a few hours after the merge or if they will be completed by someone other than the PR author, please create a dedicated follow-up issue and link it here to track resolution.

github-actions[bot] commented 2 months ago

Warehouse report 📦

Checks/potential follow-ups

Checks indicate the following action items may be necessary.

New models 🌱

calitp_warehouse.mart.gtfs_quality.fct_daily_trip_updates_vehicle_positions_completeness

DAG

Legend (in order of precedence)

Resource type Indicator Resolution
Large table-materialized model Orange Make the model incremental
Large model without partitioning or clustering Orange Add partitioning and/or clustering
View with more than one child Yellow Materialize as a table or incremental
Incremental Light green
Table Green
View White