bref_rank_on_date: Scrape MLB Standings on a Given Date

View source: R/bref_rank_on_date.R

bref_rank_on_dateR Documentation

Scrape MLB Standings on a Given Date

Description

This function allows you to scrape the standings from MLB for any date you choose.

Usage

bref_rank_on_date(date, division, from = FALSE)

Arguments

date

a date object

division

One or more of AL East, AL Central, AL West, AL Overall, NL East, NL Central, NL West, and NL Overall

from

a logical indicating whether you want standings up to and including the date (FALSE, default) or rather standings for games played after the date

Examples

## Not run: 
bref_rank_on_date("2015-08-04", "AL East")

## End(Not run)

pontsuyu/mlbR documentation built on March 23, 2023, 6:38 a.m.