Skip to content

Commit

Permalink
fix current season load
Browse files Browse the repository at this point in the history
  • Loading branch information
matsonj committed Apr 21, 2024
1 parent 3495924 commit e563886
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions evidence/pages/nba/historical_matchups.md
Expand Up @@ -7,9 +7,9 @@ Ever wondered if the '86 Celtics could beat the '96 Bulls? Wonder no more!
union all
select
l.game_date as date,
'2024' as season,
2024 as season,
null as nuetral,
null as playoff,
'r' as playoff,
l.hmTm as team1,
l.VsTm as team2,
r.home_team_elo_rating as elo1_pre,
Expand Down Expand Up @@ -98,14 +98,14 @@ Ever wondered if the '86 Celtics could beat the '96 Bulls? Wonder no more!
</Dropdown>
```sql team1_history
select * from nba_elo_history.nba_elo
select * from ${elo_history}
where season = ${inputs.team1_season_dd.value}
and ( team1 = '${inputs.team1_dd.value}' OR team2 = '${inputs.team1_dd.value}')
order by date
```

```sql team2_history
select * from nba_elo_history.nba_elo
select * from ${elo_history}
where season = ${inputs.team2_season_dd.value}
and ( team1 = '${inputs.team2_dd.value}' OR team2 = '${inputs.team2_dd.value}')
order by date
Expand Down

0 comments on commit e563886

Please sign in to comment.