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

nba_schedule() not returning as expected #124

Closed
rossdrucker opened this issue Oct 6, 2023 · 0 comments · Fixed by #125
Closed

nba_schedule() not returning as expected #124

rossdrucker opened this issue Oct 6, 2023 · 0 comments · Fixed by #125
Assignees

Comments

@rossdrucker
Copy link
Collaborator

Describe the bug
nba_schedule() function does not return expected table. Believe this is due to a slightly different response structure than previous.

To Reproduce

hoopR::nba_schedule(league_id = "00", season = "2023-24")
#> 2023-10-06 16:12:41: Invalid arguments or no league schedule data for 2023-24 available!
#> Error in hoopR::nba_schedule(league_id = "00", season = "2023-24"): object 'games' not found

Created on 2023-10-06 with reprex v2.0.2

Expected behavior
Should return complete NBA schedule for the season specified

Additional context
May need to switch from tidyr::unnest() to purrr::pluck() and append the columns here

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

Successfully merging a pull request may close this issue.

1 participant