mlb_players_18_tbl_df {usdatasets} | R Documentation |
The dataset name has been changed to 'mlb_players_18_tbl_df' to avoid confusion with other packages in the R ecosystem. This naming convention helps distinguish this dataset as part of the 'usdatasets' package and identifies it as a tibble. The original content of the dataset has not been modified.
data(mlb_players_18_tbl_df)
A tibble with 1270 observations and 19 variables:
Character string representing the name of the player.
Character string indicating the team the player belongs to.
Character string indicating the position played by the player.
Integer representing the number of games played.
Integer indicating the number of at-bats.
Integer representing the number of runs scored.
Integer representing the number of hits.
Integer indicating the number of doubles hit.
Integer indicating the number of triples hit.
Integer representing the number of home runs hit.
Integer indicating the number of runs batted in.
Integer indicating the number of walks received.
Integer indicating the number of strikeouts.
Integer representing the number of stolen bases.
Integer indicating the number of times caught stealing.
Numeric representing the batting average.
Numeric representing the on-base percentage.
Numeric representing the slugging percentage.
Numeric representing the on-base plus slugging percentage.
Data from Major League Baseball (MLB) player statistics for the 2018 season