baseballr icon indicating copy to clipboard operation
baseballr copied to clipboard

Better Documentation Around Fangraphs "Month" Parameter

Open camdenk opened this issue 2 years ago • 0 comments

  • We need to add checks to automatically set the "month" parameter to be equal to 1000 when querying specific date ranges
# This works
baseballr::fg_batter_leaders(startdate = "2023-03-26", enddate = "2023-04-26", month = "1000")
# This returns the full season
baseballr::fg_batter_leaders(startdate = "2023-03-26", enddate = "2023-04-26")

camdenk avatar Apr 03 '24 01:04 camdenk

Hello! It looks like the month=1000 parameter is a fix for the batter and fielder queries, but not the pitcher queries. Any advice? Screenshot 2024-05-08 102039

mikejones763 avatar May 08 '24 17:05 mikejones763