| mlb_teams_2019 | R Documentation |
This dataset, mlb_teams_2019, is a data frame containing season-level team statistics for Major League Baseball teams during the 2019 season. It includes information on league affiliation, wins, and offensive statistics such as runs, hits, home runs, RBI, stolen bases, walks, strikeouts, and batting average.
data(mlb_teams_2019)
A data frame with 30 observations and 14 variables:
Factor w/ 30 levels indicating the name of the MLB team
Factor w/ 2 levels indicating the league the team belongs to (American or National)
Integer vector indicating the number of games won by the team
Integer vector indicating the total number of runs scored by the team
Integer vector indicating the total number of hits by the team
Integer vector indicating the total number of doubles hit by the team
Integer vector indicating the total number of triples hit by the team
Integer vector indicating the total number of home runs hit by the team
Integer vector indicating the total number of runs batted in by the team
Integer vector indicating the total number of stolen bases by the team
Integer vector indicating the total number of times the team was caught stealing
Integer vector indicating the total number of walks drawn by the team
Integer vector indicating the total number of strikeouts by the team
Numeric vector indicating the team's overall batting average
The dataset name has been kept as 'mlb_teams_2019' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the sportsR package and assists users in identifying its specific characteristics.
Data taken from the Lock5Data package version 4.0.1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.