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

Missing cLI data interferes with streak calculation #431

Open
SushiInYourFace opened this issue Jun 16, 2024 · 0 comments
Open

Missing cLI data interferes with streak calculation #431

SushiInYourFace opened this issue Jun 16, 2024 · 0 comments

Comments

@SushiInYourFace
Copy link

SushiInYourFace commented Jun 16, 2024

For some reason, the May 21st Baltimore Orioles game (https://www.baseball-reference.com/teams/BAL/2024-schedule-scores.shtml) just... doesn't have a cLI, and although this was the only occurrence of this happening that I've found, it stands to reason this may be the case with other games as well. Although this is certainly a bbref bug and not a pybaseball one, it does mean that the data retrieved with pybaseball.schedule_and_record(2024, "BAL") is now faulty, as the cLI column for this game is populated with "--" and the streak column is left blank.

EDIT: After looking slightly more into it, I think the cause may have something to do with the fact that this game was suspended and completed the next day. Although the rest of the data appears to be complete, perhaps bbref just doesn't assign cLIs to games that are completed over the course of two days.

Edit 2: The corresponding game the St. Louis Cardinals played on that day against the Orioles also is missing a cLI, as would be expected

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