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

Frequent Errors with nba_leaguegamelog() and nba_boxscoresummaryv2() #148

Open
pauze-pauze opened this issue Jul 13, 2024 · 0 comments
Open

Comments

@pauze-pauze
Copy link

Describe the bug
A clear and concise description of what the bug is.

Dear maintainers,

I hope this message finds you well. I am writing to report a recurring issue encountered while using the nba_leaguegamelog() and nba_boxscoresummaryv2() functions in your package. Specifically, when attempting to retrieve a large dataset, I frequently encounter the following errors:

2024-07-13 09:47:18.340611: Invalid arguments or no summary boxscore v2 data for 0022300076 available!
Error in nba_boxscoresummaryv2(game_id = game_id_list[i]) : 
  object 'df_list' not found

This issue tends to arise particularly when I try to fetch data spanning across ten seasons of NBA regular season games. Although I have not pinpointed the exact conditions that trigger these errors, they seem related to the volume of data requests sent in a single instance.

Given that this package utilizes the NBA Data API, I suspect these errors may be linked to rate limiting when sending bulk requests. I am not particularly concerned with the speed of data retrieval; however, I would appreciate any suggestions on how to modify my queries to avoid these issues and potentially retrieve data in bulk per process.

Thank you for your attention to this matter. I look forward to your guidance on how to resolve these errors.

Desktop (please complete the following information):

  • OS: Windows 11, version 23H2
  • R Version: 4.4.1
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