battinghistory | R Documentation |
Major League Baseball data on batting; number of hits, doubles, home runs by season. The data was extracted from baseball-reference.com website.
battinghistory
140 obs. of 27 variables:
season
number of teams
number of players
batter's average age
runs scored
games played
plate appearances
at-bats
hits
doubles
triples
home runs
runs batted in
stolen bases
number caught stealing
walks
strikeouts
batting average
on-base percentage
slugging percentage
OBP plus SLG
total bases
ground into double plays
hit by pitches
sacrifice hits
sacrifice flies
intentional walks
This version of the data is sorted in ascending order of Year. There are missing values, especially in early years.
baseball-reference.com.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.