BillPetti / baseballr

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

bref_daily_pitcher() and bref_daily_batter() not working #318

Closed dwilmott closed 10 months ago

dwilmott commented 10 months ago

Describe the bug These functions, when provided with desired Date-formatted start and end dates, are producing the below error:

Invalid arguments or no daily batter data available!

Additionally, other bref_ functions appear to have similar error messages. It appears likely there is an issue with formatting occurring. These same functions worked for me several hours ago.

To Reproduce Run the example code from baseballr's official documentation -

bref_daily_batter("2015-05-10", "2015-06-20")

try(bref_standings_on_date(date = "2015-08-04", division = "AL East"))

Expected behavior I expected to receive BRef pitcher and batter summaries

Desktop (please complete the following information):

Additional context Not sure if there is some maintenance going on or if there was a sudden shift in the input configurations for the BRef API functions, but they are not working using correct date inputs.