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

daily_batter_bref() not able to pull for single day #231

Closed foxandfortune closed 2 years ago

foxandfortune commented 2 years ago

Getting an error when I try to run something like the following: daily_batter_bref("2019-09-28", "2019-09-28")

Here is the error message: image

I assume this is because it's attempting to mutate by combining multiple days. I can work around by using multiple days, but for purposes of using dates as a base for decay, I'd prefer to have this be able to pull day by day.