Description Usage Arguments Examples
This function returns a data.frame of box stats with each player and game for the entire season
1 |
team_num |
The number of the team. You can use the baseballr package to look up team_num. |
year |
The year of the season you want. |
type |
hitting, pitching, or fielding depending on what stats you want. |
bothteams |
By default, bothteams is true and stats for your selected team and each opponent will be included. To only get the team you selected set to false. |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.