-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Request Season parameter be added to FleaFlicker endpoints #405
Comments
Hmm. This looks like a pretty straightforward addition- do you want to give it a go in a PR? |
I changed the R/flea_franchises.R to fleaflicker_getendpoint("FetchLeagueStandings", season = conn$season, league_id = conn$league_id, sport = "NFL"). Still pulls 2023, I even manually set it to 2022. When I create the function locally, it works so i am missing something. |
hmm. may need to restart R to make sure it’s not being cached |
That did it, I thought i had tried that lol. I will submit a PR soon. I am going through them to add that where it can be used. |
Gonna keep this open and close it when the appropriate PR is merged into main, see feedback in PR comments |
Resolved in #408 |
When using ff_franchises for example, the FetchLeagueStandings endpoint accepts season as a parameter, but the package isn't passing it from the connection dataset. It defaults to current season so even if the connection data has 2022, it is pulling 2023
The text was updated successfully, but these errors were encountered: