Skip to contents

Get ESPN men's college basketball schedule for a specific year

Usage

espn_mbb_scoreboard(season)

Arguments

season

Either numeric or character

Value

Returns a tibble

col_nametypes
matchupcharacter
matchup_shortcharacter
seasoninteger
season_typeinteger
season_slugcharacter
game_idinteger
game_uidcharacter
game_dateDate
attendanceinteger
status_namecharacter
broadcast_marketcharacter
broadcast_namecharacter
start_datecharacter
game_date_timePOSIXct
home_team_namecharacter
home_team_logocharacter
home_team_abbcharacter
home_team_idinteger
home_team_locationcharacter
home_team_full_namecharacter
home_team_colorcharacter
home_scoreinteger
home_wininteger
home_recordcharacter
away_team_namecharacter
away_team_logocharacter
away_team_abbcharacter
away_team_idinteger
away_team_locationcharacter
away_team_full_namecharacter
away_team_colorcharacter
away_scoreinteger
away_wininteger
away_recordcharacter

Examples


# Get schedule from date 2022-11-17
# \donttest{
  try(espn_mbb_scoreboard (season = "20221117"))
#> ── ESPN MBB Scoreboard Information from ESPN.com ──────────────── hoopR 2.1.0 ──
#>  Data updated: 2023-11-28 22:09:54 UTC
#> # A tibble: 50 × 35
#>    matchup         matchup_short season season_type season_slug game_id game_uid
#>    <chr>           <chr>          <int>       <int> <chr>         <int> <chr>   
#>  1 South Carolina… SCST @ UK       2023           2 regular-se…  4.01e8 s:40~l:…
#>  2 UC Riverside H… UCR @ CREI      2023           2 regular-se…  4.01e8 s:40~l:…
#>  3 Utah Tech Trai… UTU @ ARIZ      2023           2 regular-se…  4.01e8 s:40~l:…
#>  4 UL Monroe Warh… ULM @ TCU       2023           2 regular-se…  4.01e8 s:40~l:…
#>  5 Michigan Wolve… MICH VS ASU     2023           2 regular-se…  4.01e8 s:40~l:…
#>  6 Murray State R… MUR VS TA&M     2023           2 regular-se…  4.01e8 s:40~l:…
#>  7 Furman Paladin… FUR VS PSU      2023           2 regular-se…  4.01e8 s:40~l:…
#>  8 Colorado Buffa… COLO VS MASS    2023           2 regular-se…  4.01e8 s:40~l:…
#>  9 Old Dominion M… ODU VS VT       2023           2 regular-se…  4.01e8 s:40~l:…
#> 10 Colorado State… CSU VS SC       2023           2 regular-se…  4.01e8 s:40~l:…
#> # ℹ 40 more rows
#> # ℹ 28 more variables: game_date <date>, attendance <int>,
#> #   play_by_play_available <lgl>, status_name <chr>, broadcast_market <chr>,
#> #   broadcast_name <chr>, start_date <chr>, game_date_time <dttm>,
#> #   home_team_name <chr>, home_team_logo <chr>, home_team_abb <chr>,
#> #   home_team_id <int>, home_team_location <chr>, home_team_full_name <chr>,
#> #   home_team_color <chr>, home_score <int>, home_win <int>, …
# }