Description Usage Arguments Details
View source: R/tm_standing_schedule.R
Pulls data on the team's opponent, result (W or L), runs allowed, runs scored, cumulative record, winning/losing pitcher last name, time of game, type of game (day or night), attendance, and current win streak. Each row represents one game.
1 | tm_standings_schedule(team, year, start_year = NULL, end_year = NULL)
|
team |
Team abbreviation, three leter character value. See the data object |
year |
Numeric year. Default is to take the past full season if pulled in the offseason or the current season if pulled after opening day. |
start_year |
Numeric value that identifies the beginning year to pull a range of data for the team of interest. This is an optional parameter. |
end_year |
Numeric value that identifies the ending year to pull a range of data for the team of interest. This is an optional parameter. |
Data obtained from https://www.baseball-reference.com.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.