Jon Solow commited on
Commit
dd33a62
·
1 Parent(s): 399cc90

Load ftn charting data

Browse files
src/dbt_yfdash/dbt_project.yml CHANGED
@@ -34,3 +34,9 @@ models:
34
  # Config indicated by + and applies to all files under models/example/
35
  example:
36
  +materialized: view
 
 
 
 
 
 
 
34
  # Config indicated by + and applies to all files under models/example/
35
  example:
36
  +materialized: view
37
+ nflverse:
38
+ +materialized: view
39
+
40
+ vars:
41
+ season: '2024'
42
+ repo: 'https://github.com/nflverse/nflverse-data/releases/download'
src/dbt_yfdash/models/nflverse/raw_ftn_charting.sql ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ SELECT *
2
+ FROM read_parquet('{{ var("repo") }}/ftn_charting/ftn_charting_{{ var("season") }}.parquet')
src/dbt_yfdash/models/nflverse/schema.yml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ version: 2
2
+
3
+ models:
4
+ - name: raw_ftn_charting
5
+ description: "ftn_charting"
6
+
src/dbt_yfdash/profiles.yml CHANGED
@@ -3,4 +3,7 @@ dbt_yfdash:
3
  dev:
4
  type: duckdb
5
  path: dev.duckdb
6
- target: dev
 
 
 
 
3
  dev:
4
  type: duckdb
5
  path: dev.duckdb
6
+ extensions:
7
+ - httpfs
8
+ - parquet
9
+ target: dev