sportsdataverse-py
sportsdataverse-py copied to clipboard
Assists recorded in boxscores missing in play-by-play
For the December 22, 2021, game between Wyoming and Stanford (game Id: 401372551), the sportsdataverse.mbb.load_mbb_player_boxscore(seasons=[2022])
data for this game records Hunter Maldonado (player Id: 4280267) of Wyoming as getting 8 assists. However, when going through the rows for this game from sportsdataverse.mbb.load_mbb_pbp(seasons=[2022])
, Maldonado would only be credited with 6 assists, based upon the number of occurrences of "Assisted by Hunter Maldonado" in the text
column, as well as the number of times his Id appears in the participants_1_athlete_id
column. In particular, he should have been credited with assists on jumpers from Graham Ike with 17:16 remaining in the 1st half and 1:15 remaining in the 2nd half. Overall, Maldonado only gets credited with 190 assists in the pbp file, but he should have 197 assists for the season so far (following Wyoming's win over UNLV in the MWC conference tournament, their last game in the dataset).