complete app
test / test (push) Successful in 9s

This commit is contained in:
2026-09-17 17:39:22 -05:00
parent 4d633a39be
commit 3d5de1dc3e
84 changed files with 24229 additions and 0 deletions
@@ -0,0 +1,58 @@
---
version: 2
models:
- name: int_player_performance
description: "Unified model containing basic and advanced stats for each player in every game. Grain: one row per player per game."
tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- game_id
- player_id
columns:
- name: game_id
tests:
- not_null
- name: player_id
tests:
- not_null
- name: int_team_performance
description: "Unified model containing basic and advanced stats for each team in every game. Grain: one row per team per game."
tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- game_id
- team
columns:
- name: game_id
tests:
- not_null
- name: team
tests:
- not_null
- name: int_games_enriched
description: "Game-level model enriched with detailed performance stats for both the home and visitor teams. Grain: one row per game."
columns:
- name: game_id
tests:
- unique
- not_null
- name: int_player_shots_enriched
description: >
Unified shot-level dataset combining field goal attempts (from shot charts)
with free throw attempts (derived from stg_player_game_basic_stats).
Grain: one row per shot attempt (FG or FT).
columns:
- name: shot_id
tests:
- not_null
- name: player_id
tests:
- not_null
- name: shot_source
tests:
- not_null
- accepted_values:
values: ['shot_chart', 'box_score_ft']