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

ncaa_game_logs not working for type = "pitching" #336

Open
kylemckelvey16 opened this issue May 14, 2024 · 2 comments
Open

ncaa_game_logs not working for type = "pitching" #336

kylemckelvey16 opened this issue May 14, 2024 · 2 comments

Comments

@kylemckelvey16
Copy link

I have been running game by game data pulls using the following code all year long for both batting and pitching types and just this week, pitching stopped working as expected.

The error it gives me when I run any player_id is "Invalid arguments provided", but I haven't changed any of the arguments that were working all season long, and batting works with the same arguments.

test1 <- ncaa_game_logs(player_id = "2522072", year = 2024, type = "pitching", span = "game")
test2 <- ncaa_game_logs(player_id = "2522072", year = 2024, type = "batting", span = "game")

I expect the output for that to be a dataframe with NAs in the blank cells that I filter out later, but now it's just coming through as blank and it gives me the error I mentioned above.

@saiemgilani
Copy link
Collaborator

will look into it

@rdavtian
Copy link

@saiemgilani Seems like a similar issue occurs for fg_pitchers_leaders or fg_pitch_leaders function as well when I tried running it yesterday. fg_bats_leaders works as well.

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

3 participants