powered by
This function allows you to scrape basic pitcher statistics over a custom time frame. Data is sourced from Baseball-Reference.com.
bref_daily_pitcher(t1, t2)
Returns a tibble of pitcher performance with the following columns:
First date data should be scraped from. Should take the form "YEAR-MONTH-DAY"
Last date data should be scraped from. Should take the form "YEAR-MONTH-DAY"
# \donttest{ try(bref_daily_pitcher("2015-05-10", "2015-06-20")) # }
Run the code above in your browser using DataLab