BillPetti / baseballr

A package written for R focused on baseball analysis. Currently in development.
billpetti.github.io/baseballr
Other
356 stars 98 forks source link

fg_pitcher_leaders #343

Open OpeningDayBestDay opened 6 days ago

OpeningDayBestDay commented 6 days ago

fg_pitcher_leaders is not working. Even the example shown has the same error I am getting. Here is the error:

test<-try(fg_pitcher_leaders(startseason = 2023, endseason = 2023)) 2024-06-25 06:31:56.08341: Invalid arguments or no player pitching leaders data available! Error in fg_pitcher_leaders(startseason = 2023, endseason = 2023) : object 'leaders' not found

OpeningDayBestDay commented 6 days ago
fg_pitcher_leaders ERROR in example on page
kyledpark commented 1 day ago

I'm getting the same error, I determined the issue was season needs to be capitalized on line 537

OpeningDayBestDay commented 19 hours ago

I'm getting the same error, I determined the issue was season needs to be capitalized on line 537

I tried capitalizing "Season", but still was not able to get data. Were you able to get it to run with your fix? If so, would you mind sharing?