Skip to contents

Get MLB active rosters

Usage

mlb_roster(team)

Arguments

team

[numeric] MLB statsapi team ID

Value

An object with class c("tbl_df", "tbl", "data.frame"). Specifically, a data frame with 40 rows and 11 columns:

JerseyNumber

[character] desc

TeamID

[integer] desc

PersonID

[integer] desc

FullName

[character] desc

PersonLink

[character] desc

PositionCode

[character] desc

PositionName

[character] desc

PositionType

[character] desc

PositionAbbreviation

[character] desc

StatusCode

[character] desc

StatusDescription

[character] desc