batting: Batting table

Description Usage Format Source Examples

Description

Batting table - batting statistics

Usage

1

Format

A data frame with columns:

playerID

The variable is character. Player ID code

yearID

The variable is integer. Year

stint

The variable is integer. player's stint (order of appearances within a season)

teamID

The variable is factor. Team

lgID

The variable is factor. League; with values AA AL FL NL PL UA

G

The variable is integer. Games: number of games in which a player played

AB

The variable is integer. At Bats

R

The variable is integer. Runs

H

The variable is integer. Hits: times reached base because of a batted, fair ball without error by the defense

X2B

The variable is integer. Doubles: hits on which the batter reached second base safely

X3B

The variable is integer. Triples: hits on which the batter reached third base safely

HR

The variable is integer. Homeruns

RBI

The variable is integer. Runs Batted In

SB

The variable is integer. Stolen Bases

CS

The variable is integer. Caught Stealing

BB

The variable is integer. Base on Balls

SO

The variable is integer. Strikeouts

IBB

The variable is integer. Intentional walks

HBP

The variable is integer. Hit by pitch

SH

The variable is integer. Sacrifice hits

SF

The variable is integer. Sacrifice flies

GIDP

The variable is integer. Grounded into double plays

Source

https://github.com/cdalzell/Lahman

Examples

1
2
3
4
## Not run: 
batting

## End(Not run)

byuidatascience/data4python4ds documentation built on July 26, 2020, 5:02 a.m.