Skip to contents

MLB Roster Types

Usage

mlb_roster_types()

Value

Returns a tibble with the following columns

col_nametypes
roster_type_descriptioncharacter
roster_type_lookup_namecharacter
roster_type_parametercharacter

Examples

# \donttest{
  try(mlb_roster_types())
#> ── MLB Roster Types data from MLB.com ─────────────── baseballr 1.2.0 ──
#>  Data updated: 2022-04-30 07:16:26 UTC
#> # A tibble: 9 × 3
#>   roster_type_description              roster_type_loo… roster_type_par…
#>   <chr>                                <chr>            <chr>           
#> 1 40 man roster for a team             40man            40Man           
#> 2 Full roster including active and in… fullSeason       fullSeason      
#> 3 Full roster including active and in… full             fullRoster      
#> 4 Non-Roster Invitees                  nonRosterInvite… nonRosterInvite…
#> 5 Active roster for a team             active           active          
#> 6 All Time roster for a team           alltime          allTime         
#> 7 Depth chart for a team               active           depthChart      
#> 8 Roster for day of game               active           gameday         
#> 9 Coach roster for a team              active           coach           
# }