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

cfbd_game_team_stats is requiring the "team" argument. #86

Open
aaronmorrisNC opened this issue Nov 15, 2022 · 2 comments
Open

cfbd_game_team_stats is requiring the "team" argument. #86

aaronmorrisNC opened this issue Nov 15, 2022 · 2 comments

Comments

@aaronmorrisNC
Copy link

The cfbd_game_team_stats is requiring the "team" argument. However, the arguments description state that it is optional.

Expected behavior

I should be able to execute cfbd_game_team_stats with a minimum of the "year" argument as documented in the usage file.
https://cfbfastr.sportsdataverse.org/reference/cfbd_game_team_stats.html

team
(String optional): D-I Team

Screenshots of Error

Error returned from R Studio.

df <- cfbd_game_team_stats(2021)
Request failed [400]. Retrying in 1.1 seconds...
Request failed [400]. Retrying in 1.3 seconds...
2022-11-15 17:43:42: Invalid arguments or no team stats data available!

Desktop (please complete the following information):

  • Windows 10 ver. 21H2
  • R Studio version 2022.07.2 Build 576
@Kazink36
Copy link
Collaborator

The documentation isn’t clear on our end so I’ll make a note to fix that, but the cfbd_game_team_stats() endpoint on CFBD requires one of either team or week along with the season

@aaronmorrisNC
Copy link
Author

Appreciate the help.

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