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

Discrepancy in number of games while using getTeamData #7

Open
mohitmandal opened this issue May 11, 2023 · 2 comments
Open

Discrepancy in number of games while using getTeamData #7

mohitmandal opened this issue May 11, 2023 · 2 comments

Comments

@mohitmandal
Copy link

I was using the getTeamData function, as follows:

Screenshot 2023-05-11 at 15 08 42

For ODIs played by India, I get a data-frame of 986 observations.

Screenshot 2023-05-11 at 15 10 17

However, as of 11 May 2023, India has played 1029 ODIs, according to ESPNCricinfo Statsguru. What explains this discrepancy?

Screenshot 2023-05-11 at 15 09 23
@tvganesh
Copy link
Owner

oK. Will check

@mohitmandal
Copy link
Author

Thank you. I think I figured out a potential cause. There are 43 "No Results," which corresponds exactly to the shortfall (1029 minus 986).

To be fully accurate, perhaps "No results" should be included in the dataset — for instance, take an ODI game in which the side batting first completes their innings, and a rain interruption causes the game to be abandoned. The batting team's innings still counts towards official statistics.

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

2 participants