https://rdrr.io/cran/ISLR/man/Hitters.html

Hitters: Baseball Data
In ISLR: Data for an Introduction to Statistical Learning with Applications in R

Description: Major League Baseball Data from the 1986 and 1987 seasons.

<Variables>
AtBat
  Number of times at bat in 1986 ()
Hits
  Number of hits in 1986 (w)
HmRun
  Number of home runs in 1986 (S)
Runs
  Number of runs in 1986 (o)
RBI
  Number of runs batted in in 1986 (I)
Walks
  Number of walks in 1986 (Oe)
Years
  Number of years in the major leagues
CAtBat
  Number of times at bat during his career 
CHits
  Number of hits during his career
CHmRun
  Number of home runs during his career
CRuns
  Number of runs during his career
CRBI
  Number of runs batted in during his career
CWalks
  Number of walks during his career
League
  A factor with levels A and N indicating player's league at the end of 1986
Division
  A factor with levels E and W indicating player's division at the end of 1986
PutOuts
  Number of put outs in 1986 (X)
Assists
  Number of assists in 1986 (U)
Errors
  Number of errors in 1986 (~)
Salary
  1987 annual salary on opening day in thousands of dollars
NewLeague
  A factor with levels A and N indicating player's league at the beginning of 1987
