Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erroneous play by play data #146

Open
SPNE opened this issue Mar 19, 2024 · 0 comments
Open

Erroneous play by play data #146

SPNE opened this issue Mar 19, 2024 · 0 comments

Comments

@SPNE
Copy link

SPNE commented Mar 19, 2024

Describe the bug
Bad input data for Chicago-Hornets game with erroneous plays

To Reproduce
Steps to reproduce the behavior:

  1. Load pbp data and filter on specific game
nba_player_pbp <- hoopR::load_nba_pbp(2024:hoopR::most_recent_nba_season())
nba_player_pbp %>% 
  filter(game_id == 401616465)
  1. Scroll to 4th, 5th,6th, and 7th page and there are plays where the score decreases just for that play
  2. Specifically play ids: 40161646518,40161646522, 40161646532, 40161646534, 40161646538, 40161646540, 40161646543

https://www.espn.com/nba/playbyplay/_/gameId/401616465
All plays are from the first quarter

Time Text Away Score Home Score ID
7:24 DeMar DeRozan defensive rebound 4 3 40161646518
7:21 Torrey Craig enters the game for Patrick Williams 4 3 40161646522
6:09 Torrey Craig makes 26-foot three point jumper (Coby White assists) 6 9 40161646532
5:53 Brandon Miller misses 11-foot jumper 6 9 40161646534
5:31 Terry Rozier misses 27-foot three point jumper 6 9 40161646538
5:26 Nick Richards offensive rebound 6 9 40161646540
5:08 Coby White makes layup 6 11 40161646543

Expected behavior
Score should not go down for one play and then jump back up

Screenshots
Example of some bad plays
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: RStudio
  • Version hoopR 2.1.0

Additional context
This is bad data also present on ESPN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant