shufinskiy / nba_data

NBA play-by-play data from stats.nba.com, data.nba.com, pbpstats.com, and also shots information with season 1996/97
Apache License 2.0
54 stars 6 forks source link

incorrect game reference of GAME_ID `42000133` #5

Open atlhawksfanatic opened 3 months ago

atlhawksfanatic commented 3 months ago

Within datanba_po_2020.csv, the references to GAME_ID of 42000133 references all the events of NBA's gid of 0041900133.

0042000133 should reference a game between NYK and ATL from 2021-05-28 https://www.nba.com/game/nyk-vs-atl-0042000133/play-by-play but first actual event in for that game is:

Jump Ball Adebayo vs Turner (G Dragic gains possession)

Which comes from a game between MIA an IND from 2020-08-20 https://www.nba.com/game/mia-vs-ind-0041900132/play-by-play

shufinskiy commented 3 months ago

@atlhawksfanatic, hi. Thanks for the issue. Indeed, there is an error in the data. I checked, and unfortunately, this is an error on the NBA side, I can't fix anything. I will add information about this bug in the README.

atlhawksfanatic commented 3 months ago

Wasn't 100% sure which API endpoint you were pulling from (maybe that might be helpful to document the exact endpoints for the tar.gz?) but looks like I see that bug too from https://data.nba.com/data/v2015/json/mobile_teams/nba/2020/scores/pbp/0042000133_full_pbp.json

I get the feeling that endpoint is going to be sunset at some point in the future