powered by
This function allows you to scrape the standings from MLB for any date you choose.
bref_standings_on_date(date, division, from = FALSE)
Returns a tibble of MLB standings with the following columns:
a date object
One or more of AL East, AL Central, AL West, AL Overall, NL East, NL Central, NL West, and NL Overall
a logical indicating whether you want standings up to and including the date (FALSE, default) or rather standings for games played after the date
# \donttest{ try(bref_standings_on_date(date = "2015-08-04", division = "AL East")) # }
Run the code above in your browser using DataLab