1
2
3
4
5
#

Name:

Description:

Batter statistics for 2018 Major League Baseball season.

Variables:

  • name - Player name

  • team - Team abbreviation

  • position - Position abbreviation: 1B = first base, 2B = second base, 3B = third base, C = catcher, CF = center field (outfield), DH = designated hitter, LF = left field (outfield), P = pitcher, RF = right field (outfield), SS = shortstop.

  • games - Number of games played.

  • AB - At bats.

  • R - Runs.

  • H - Hits.

  • doubles - Doubles.

  • triples - Triples.

  • HR - Home runs.

  • RBI - Runs batted in.

  • walks - Walks.

  • strike_outs - Strike outs.

  • stolen_bases - Stolen bases.

  • caught_stealing_base - Number of times caught stealing a base.

  • AVG - Batting average.

  • OBP - On-base percentage.

  • SLG - Slugging percentage.

  • OPS - On-base percentage plus slugging percentage.

Link To Google Sheets:

Rows:

Columns:

License Type:

References/Notes/Attributions:

Source

http://mlb.mlb.com/stats

R Dataset Upload:

Use the following R code to directly access this dataset in R.

d <- read.csv("https://www.key2stats.com/Batter_Statistics_for_2018_Major_League_Baseball__MLB__Season_1459_17.csv")

R Coding Interface:


Datasets Tag Questions & Instructional Blocks

NumberContentType
No results found.