batting_df: Basic batting statistics

Description Usage Format Source

Description

Baseball reference batting stats: 2014 - 2018

Usage

1

Format

A "batting", 'tbl_df', 'tbl', "data.frame" data.frame with 6,211 rows and 21 variables

player_id

The unique Lahman player ID [chr]

pa

Plate Appearances [int]

ab

At bats [int]

h

hits [int]

r

Runs [int]

hr

Home Runs [int]

rbi

Runs batted in [int]

bb

Base on balls (Walks) [int]

hbp

Hit by pitch [int]

ibb

Intentional Walks [int]

sb

Stolen bases [int]

so

Strikeouts [int]

x2b

Doubles [int]

x3b

Triples [int]

avg

Batting average [num]

obp

On base percentage [num]

slg

Slugging percentage [num]

gidp

Ground into double plays [int]

sf

Sacrifice flies [int]

sh

Sacrifice hits (bunts) [int]

year

Year of data [int]

Source

www.baseball-reference.com (via getBRStats(type = 'batting))


andykrause/FBB30x30 documentation built on Dec. 29, 2021, 10:06 a.m.