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

Function taking long time to run #35

Open
adisrir opened this issue Nov 28, 2023 · 3 comments
Open

Function taking long time to run #35

adisrir opened this issue Nov 28, 2023 · 3 comments

Comments

@adisrir
Copy link

adisrir commented Nov 28, 2023

I am trying to run this simple function in R:

wt20 <- fetch_cricinfo("T20", "Women", "Bowling")

However, the run time is taking very long. Is there an issue internally?

@robjhyndman
Copy link
Owner

I believe that cricinfo is preventing the package from accessing the website.

@adisrir
Copy link
Author

adisrir commented Nov 28, 2023

Is this an issue that can be fixed or would we have to wait for cricinfo to give permission?

@robjhyndman
Copy link
Owner

I asked cricinfo for permission several years ago, and could not get anyone to respond. Now they appear to have blocked web scraping such as that used by the cricketdata package. I'm pessimistic that cricinfo will allow this in the future. We probably need to find some other way to get the data. There are other websites such as howstat.com which are more friendly to data analysts, but they only contain male data, unfortunately. If I can think of a way to use cricinfo without hitting the block, I will update the package.

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