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.6.0 ──
#>  Data updated: 2024-04-13 21:56:39 UTC
#> # A tibble: 9 × 3
#>   roster_type_description   roster_type_lookup_n…¹ roster_type_parameter
#>   <chr>                     <chr>                  <chr>                
#> 1 40 man roster for a team  40man                  40Man                
#> 2 Full roster including ac… fullSeason             fullSeason           
#> 3 Full roster including ac… full                   fullRoster           
#> 4 Non-Roster Invitees       nonRosterInvitees      nonRosterInvitees    
#> 5 Active roster for a team  active                 active               
#> 6 All Time roster for a te… 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                
#> # ℹ abbreviated name: ¹​roster_type_lookup_name
# }