Skip to contents

Get ESPN College Baseball game rosters

Usage

espn_college_baseball_game_rosters(game_id)

Arguments

game_id

Game ID

Value

A game rosters data frame

col_nametypesdescription
athlete_idintegerUnique ESPN athlete identifier.
athlete_uidcharacterAthlete uid.
athlete_guidcharacterAthlete guid.
athlete_typecharacterAthlete type.
sdrintegerSdr.
first_namecharacterFirst name.
last_namecharacterLast name.
full_namecharacterFull name.
athlete_display_namecharacterAthlete display name (full).
short_namecharacterShort display name.
weightintegerWeight.
display_weightcharacterDisplay weight.
heightintegerHeight.
display_heightcharacterDisplay height.
ageintegerAge.
date_of_birthcharacterDate of birth.
debut_yearintegerDebut year.
birth_place_citycharacterBirth place city.
birth_place_statecharacterBirth place state.
birth_place_countrycharacterBirth place country.
slugcharacterSlug.
headshot_hrefcharacterHeadshot href.
headshot_altcharacterHeadshot alt.
athlete_jersey_numbercharacterAthlete jersey number.
position_idintegerPosition id.
position_namecharacterPosition name.
position_display_namecharacterPosition display name.
position_abbreviationcharacterPosition abbreviation.
position_leaflogicalPosition leaf.
positions_refcharacterPositions ref.
positions_idcharacterPositions id.
positions_namecharacterPositions name.
positions_display_namecharacterPositions display name.
positions_abbreviationcharacterPositions abbreviation.
positions_leaflogicalPositions leaf.
positions_parent_refcharacterPositions parent ref.
positions_statistics_refcharacterPositions statistics ref.
linkedlogicalLinked.
yearsintegerYears.
debut_year_2integerDebut year 2.
debut_refcharacterDebut ref.
debut_ref_1characterDebut ref 1.
activelogicalTRUE if the row represents an active record.
status_idintegerStatus id.
status_namecharacterGame status (e.g. 'STATUS_FINAL').
status_typecharacterStatus type.
status_abbreviationcharacterStatus abbreviation.
bats_typecharacterBats type.
bats_abbreviationcharacterBats abbreviation.
bats_display_valuecharacterBats display value.
throws_typecharacterThrows type.
throws_abbreviationcharacterThrows abbreviation.
throws_display_valuecharacterThrows display value.
starterlogicalTRUE if the player started the game.
validlogicalValid.
display_namecharacterDisplay name.
bat_orderintegerSpot in the batting order (1-9; NA if not applicable).
record_numberintegerRecord number.
at_batslistAt bats.
positionslistPositions.
noteslistNotes.
subbed_in_did_sublogicalSubbed in did sub.
subbed_out_did_sublogicalSubbed out did sub.
team_idintegerUnique ESPN team identifier.
team_guidcharacterESPN team GUID.
team_uidcharacterESPN universal team identifier (UID).
team_sdrcharacterTeam sdr.
team_slugcharacterURL-safe team identifier.
team_locationcharacterTeam city / location.
team_namecharacterTeam nickname (e.g. 'Yankees').
team_abbreviationcharacterShort team abbreviation (e.g. 'NYY').
team_display_namecharacterFull team display name (e.g. 'New York Yankees').
team_short_display_namecharacterShort team display name.
team_colorcharacterTeam primary color (hex, no leading '#').
team_alternate_colorcharacterTeam alternate color (hex).
team_is_activelogicalTeam is active.
is_all_starlogicalIs all star.
logo_hrefcharacterLogo href.
logo_dark_hrefcharacterLogo dark href.
logos_href_2characterLogos href 2.
logos_href_3characterLogos href 3.
logos_href_4characterLogos href 4.
logos_width_4integerLogos width 4.
logos_height_4integerLogos height 4.
logos_alt_4characterLogos alt 4.
logos_rel_full_4characterLogos rel full 4.
logos_rel_primary_logo_on_white_colorcharacterLogos rel primary logo on white color.
logos_last_updated_4characterLogos last updated 4.
logos_href_5characterLogos href 5.
logos_width_5integerLogos width 5.
logos_height_5integerLogos height 5.
logos_alt_5characterLogos alt 5.
logos_rel_full_5characterLogos rel full 5.
logos_rel_primary_logo_on_black_colorcharacterLogos rel primary logo on black color.
logos_last_updated_5characterLogos last updated 5.
logos_href_6characterLogos href 6.
logos_width_6integerLogos width 6.
logos_height_6integerLogos height 6.
logos_alt_6characterLogos alt 6.
logos_rel_full_6characterLogos rel full 6.
logos_rel_primary_logo_on_primary_colorcharacterLogos rel primary logo on primary color.
logos_last_updated_6characterLogos last updated 6.
logos_href_7characterLogos href 7.
logos_width_7integerLogos width 7.
logos_height_7integerLogos height 7.
logos_alt_7characterLogos alt 7.
logos_rel_full_7characterLogos rel full 7.
logos_rel_primary_logo_on_secondary_colorcharacterLogos rel primary logo on secondary color.
logos_last_updated_7characterLogos last updated 7.
logos_href_8characterLogos href 8.
logos_width_8integerLogos width 8.
logos_height_8integerLogos height 8.
logos_alt_8characterLogos alt 8.
logos_rel_full_8characterLogos rel full 8.
logos_rel_primary_logo_blackcharacterLogos rel primary logo black.
logos_last_updated_8characterLogos last updated 8.
logos_href_9characterLogos href 9.
logos_width_9integerLogos width 9.
logos_height_9integerLogos height 9.
logos_alt_9characterLogos alt 9.
logos_rel_full_9characterLogos rel full 9.
logos_rel_primary_logo_whitecharacterLogos rel primary logo white.
logos_last_updated_9characterLogos last updated 9.
logos_href_10characterLogos href 10.
logos_width_10integerLogos width 10.
logos_height_10integerLogos height 10.
logos_alt_10characterLogos alt 10.
logos_rel_full_10characterLogos rel full 10.
logos_rel_secondary_logo_on_white_colorcharacterLogos rel secondary logo on white color.
logos_last_updated_10characterLogos last updated 10.
logos_href_11characterLogos href 11.
logos_width_11integerLogos width 11.
logos_height_11integerLogos height 11.
logos_alt_11characterLogos alt 11.
logos_rel_full_11characterLogos rel full 11.
logos_rel_secondary_logo_on_black_colorcharacterLogos rel secondary logo on black color.
logos_last_updated_11characterLogos last updated 11.
logos_href_12characterLogos href 12.
logos_width_12integerLogos width 12.
logos_height_12integerLogos height 12.
logos_alt_12characterLogos alt 12.
logos_rel_full_12characterLogos rel full 12.
logos_rel_secondary_logo_on_primary_colorcharacterLogos rel secondary logo on primary color.
logos_last_updated_12characterLogos last updated 12.
logos_href_13characterLogos href 13.
logos_width_13integerLogos width 13.
logos_height_13integerLogos height 13.
logos_alt_13characterLogos alt 13.
logos_rel_full_13characterLogos rel full 13.
logos_rel_secondary_logo_on_secondary_colorcharacterLogos rel secondary logo on secondary color.
logos_last_updated_13characterLogos last updated 13.
logos_href_14characterLogos href 14.
logos_width_14integerLogos width 14.
logos_height_14integerLogos height 14.
logos_alt_14characterLogos alt 14.
logos_rel_full_14characterLogos rel full 14.
logos_rel_secondary_logo_blackcharacterLogos rel secondary logo black.
logos_last_updated_14characterLogos last updated 14.
logos_href_15characterLogos href 15.
logos_width_15integerLogos width 15.
logos_height_15integerLogos height 15.
logos_alt_15characterLogos alt 15.
logos_rel_full_15characterLogos rel full 15.
logos_rel_secondary_logo_whitecharacterLogos rel secondary logo white.
logos_last_updated_15characterLogos last updated 15.
game_idintegerUnique ESPN game/event identifier.
orderintegerOrder.
home_awaycharacterVenue label for the team ('home' or 'away').
winnerlogicalWinner.
nicknamecharacterTeam nickname.
draft_display_textcharacterDraft display text.
draft_roundintegerDraft round.
draft_yearintegerDraft year.
draft_selectionintegerDraft selection.

See also

Other ESPN College Baseball Functions: espn_college_baseball_athletes_index(), espn_college_baseball_calendar(), espn_college_baseball_coach(), espn_college_baseball_coach_record(), espn_college_baseball_coach_season(), espn_college_baseball_coaches(), espn_college_baseball_conferences(), espn_college_baseball_game_all(), espn_college_baseball_game_broadcasts(), espn_college_baseball_game_official_detail(), espn_college_baseball_game_officials(), espn_college_baseball_game_play(), espn_college_baseball_game_play_personnel(), espn_college_baseball_game_player_box(), espn_college_baseball_game_situation(), espn_college_baseball_game_team_leaders(), espn_college_baseball_game_team_linescores(), espn_college_baseball_game_team_records(), espn_college_baseball_game_team_roster(), espn_college_baseball_game_team_roster_entry(), espn_college_baseball_game_team_score(), espn_college_baseball_game_team_statistics(), espn_college_baseball_leaders(), espn_college_baseball_news(), espn_college_baseball_pbp(), espn_college_baseball_player_awards(), espn_college_baseball_player_box(), espn_college_baseball_player_career_stats(), espn_college_baseball_player_eventlog(), espn_college_baseball_player_gamelog(), espn_college_baseball_player_info(), espn_college_baseball_player_overview(), espn_college_baseball_player_seasons(), espn_college_baseball_player_splits(), espn_college_baseball_player_statisticslog(), espn_college_baseball_scoreboard(), espn_college_baseball_season_group(), espn_college_baseball_season_group_children(), espn_college_baseball_season_group_teams(), espn_college_baseball_season_groups(), espn_college_baseball_season_info(), espn_college_baseball_season_leaders(), espn_college_baseball_season_ranking(), espn_college_baseball_season_rankings(), espn_college_baseball_season_type(), espn_college_baseball_season_types(), espn_college_baseball_season_week(), espn_college_baseball_season_weeks(), espn_college_baseball_seasons(), espn_college_baseball_standings(), espn_college_baseball_team(), espn_college_baseball_team_box(), espn_college_baseball_team_leaders(), espn_college_baseball_team_news(), espn_college_baseball_team_record(), espn_college_baseball_team_record_detail(), espn_college_baseball_team_roster(), espn_college_baseball_team_schedule(), espn_college_baseball_team_season_profile(), espn_college_baseball_team_season_roster(), espn_college_baseball_team_season_statistics(), espn_college_baseball_teams(), espn_college_baseball_tournament(), espn_college_baseball_tournament_season(), espn_college_baseball_tournament_seasons(), espn_college_baseball_tournaments(), espn_college_baseball_venues(), espn_college_baseball_week_ranking(), espn_college_baseball_week_rankings()

Author

Saiem Gilani

Examples

# \donttest{
try(espn_college_baseball_game_rosters(game_id = "401778093"))
#> ── ESPN College Baseball Game Roster Information from ESPN.com ─────────
#>  Data updated: 2026-06-12 14:07:53 UTC
#> # A tibble: 18 × 145
#>    athlete_id athlete_uid    athlete_type first_name last_name full_name
#>         <int> <chr>          <chr>        <chr>      <chr>     <chr>    
#>  1      83667 s:1~l:14~a:83… baseball     Trent      Caraway   Trent Ca…
#>  2      72474 s:1~l:14~a:72… baseball     Aiva       Arquette  Aiva Arq…
#>  3      72534 s:1~l:14~a:72… baseball     Gavin      Turley    Gavin Tu…
#>  4      59059 s:1~l:14~a:59… baseball     Wilson     Weber     Wilson W…
#>  5      87679 s:1~l:14~a:87… baseball     AJ         Singer    AJ Singer
#>  6      72552 s:1~l:14~a:72… baseball     Tyce       Peterson  Tyce Pet…
#>  7      72539 s:1~l:14~a:72… baseball     Jacob      Krieg     Jacob Kr…
#>  8      72540 s:1~l:14~a:72… baseball     Canon      Reeder    Canon Re…
#>  9      72545 s:1~l:14~a:72… baseball     Easton     Talt      Easton T…
#> 10      66843 s:1~l:14~a:66… baseball     Caden      Bodine    Caden Bo…
#> 11      48515 s:1~l:14~a:48… baseball     Sebastian  Alexander Sebastia…
#> 12      66841 s:1~l:14~a:66… baseball     Blake      Barthol   Blake Ba…
#> 13      81442 s:1~l:14~a:81… baseball     Walker     Mitchell  Walker M…
#> 14      79686 s:1~l:14~a:79… baseball     Blagen     Pado      Blagen P…
#> 15      92182 s:1~l:14~a:92… baseball     Colby      Thorndyke Colby Th…
#> 16      66857 s:1~l:14~a:66… baseball     Dean       Mihos     Dean Mih…
#> 17      58759 s:1~l:14~a:58… baseball     Ty         Dooley    Ty Dooley
#> 18      58929 s:1~l:14~a:58… baseball     Wells      Sykes     Wells Sy…
#> # ℹ 139 more variables: athlete_display_name <chr>, short_name <chr>,
#> #   weight <int>, display_weight <chr>, height <int>,
#> #   display_height <chr>, birth_place_city <chr>,
#> #   birth_place_state <chr>, birth_place_country <chr>, slug <chr>,
#> #   position_id <int>, position_name <chr>,
#> #   position_display_name <chr>, position_abbreviation <chr>,
#> #   position_leaf <lgl>, linked <lgl>, active <lgl>, bats_type <chr>, …
# }