MLB_teams | R Documentation |
A dataset containing information about Major League Baseball teams from 2008-2014.
MLB_teams
A tibble::tbl_df object.
season in which the team played
the team's three character identifier
the league in which the team played
number of wins
number of losses
winning percentage
number of fans in attendance
number of fans in attendance, relative to the team with the highest attendance in this sample (the 2008 New York Yankees)
the sum of the salaries of the players on each team. Note that this number is only an estimate of the actual team payroll – and may not even be a very good one. Salaries are accumulated from Lahman::Salaries
the size of the team's home city's metropolitan population, according to Wikipedia and the 2010 US Census
the full name of the team
The Lahman::Teams table from Lahman::Lahman-package and https://en.wikipedia.org/wiki/List_of_Metropolitan_Statistical_Areas
Lahman::Teams
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.