sportsdataverse / hoopR

An R package to quickly obtain clean and tidy men's basketball play by play data.
http://hoopr.sportsdataverse.org/
Other
81 stars 18 forks source link

Incorrect spreads for 2024 NBA games from load_nba_pbp() #140

Open kirk-broad opened 8 months ago

kirk-broad commented 8 months ago

I am able to get accurate spreads for NBA games from previous seasons (e.g. hoopR::load_nba_pbp(2023)). However when running hoopR::load_nba_pbp(2024), every _gamespread and _home_teamspread is listed as 2.5. The rest of the play by play data for the 2024 season seems correct.

nba_pbp_2023 <- hoopR::load_nba_pbp(2023) nba_pbp_2024 <- hoopR::load_nba_pbp(2024) hist(nba_pbp_2023$game_spread) hist(nba_pbp_2024$game_spread)

image image
bkmontgom commented 7 months ago

Same as #136