Skip to contents

Returns the live game situation for one MBB event: timeouts remaining, team fouls, fouls to give, bonus state, and a $ref to the last play. During a live game this reflects current state; after the game ends the values are frozen.

Usage

espn_mbb_game_situation(event_id, ...)

Arguments

event_id

ESPN event identifier.

...

Additional arguments; currently unused.

Value

A single-row tibble with timeouts + fouls for both teams.

See also

Other ESPN MBB Functions: espn_mbb_athletes_index(), espn_mbb_award(), espn_mbb_betting(), espn_mbb_calendar(), espn_mbb_coach(), espn_mbb_coach_record(), espn_mbb_coach_season(), espn_mbb_coaches(), espn_mbb_conferences(), espn_mbb_franchise(), espn_mbb_franchises(), espn_mbb_futures(), espn_mbb_game_all(), espn_mbb_game_broadcasts(), espn_mbb_game_odds(), espn_mbb_game_official_detail(), espn_mbb_game_officials(), espn_mbb_game_play(), espn_mbb_game_play_personnel(), espn_mbb_game_player_box(), espn_mbb_game_powerindex(), espn_mbb_game_predictor(), espn_mbb_game_probabilities(), espn_mbb_game_propbets(), espn_mbb_game_rosters(), espn_mbb_game_team_leaders(), espn_mbb_game_team_linescores(), espn_mbb_game_team_records(), espn_mbb_game_team_roster(), espn_mbb_game_team_roster_entry(), espn_mbb_game_team_score(), espn_mbb_game_team_statistics(), espn_mbb_injuries(), espn_mbb_leaders(), espn_mbb_news(), espn_mbb_pbp(), espn_mbb_player_awards(), espn_mbb_player_box(), espn_mbb_player_career_stats(), espn_mbb_player_eventlog(), espn_mbb_player_eventlog_v2(), espn_mbb_player_gamelog(), espn_mbb_player_info(), espn_mbb_player_overview(), espn_mbb_player_seasons(), espn_mbb_player_splits(), espn_mbb_player_statisticslog(), espn_mbb_player_stats(), espn_mbb_player_stats_v3(), espn_mbb_position(), espn_mbb_positions(), espn_mbb_powerindex(), espn_mbb_rankings(), espn_mbb_scoreboard(), espn_mbb_season_awards(), espn_mbb_season_group(), espn_mbb_season_group_children(), espn_mbb_season_group_teams(), espn_mbb_season_groups(), espn_mbb_season_info(), espn_mbb_season_leaders(), espn_mbb_season_ranking(), espn_mbb_season_rankings(), espn_mbb_season_type(), espn_mbb_season_types(), espn_mbb_season_week(), espn_mbb_season_weeks(), espn_mbb_seasons(), espn_mbb_standings(), espn_mbb_team(), espn_mbb_team_box(), espn_mbb_team_current_roster(), espn_mbb_team_injuries(), espn_mbb_team_leaders(), espn_mbb_team_news(), espn_mbb_team_odds_records(), espn_mbb_team_record(), espn_mbb_team_record_detail(), espn_mbb_team_roster(), espn_mbb_team_schedule(), espn_mbb_team_season_profile(), espn_mbb_team_season_roster(), espn_mbb_team_season_statistics(), espn_mbb_team_stats(), espn_mbb_teams(), espn_mbb_tournament(), espn_mbb_tournament_season(), espn_mbb_tournament_seasons(), espn_mbb_tournaments(), espn_mbb_venues(), espn_mbb_week_ranking(), espn_mbb_week_rankings(), espn_mbb_wp()

Author

Saiem Gilani

Examples

# \donttest{
  espn_mbb_game_situation(event_id = 401256760)
#> ── ESPN MENS-COLLEGE-BASKETBALL Event Situation ───────────────── hoopR 3.1.0 ──
#>  Data updated: 2026-06-04 12:19:55 UTC
#> # A tibble: 1 × 15
#>   league                  event_id  home_timeouts_current home_timeouts_remain…¹
#>   <chr>                   <chr>                     <int>                  <int>
#> 1 mens-college-basketball 401256760                     0                      0
#> # ℹ abbreviated name: ¹​home_timeouts_remaining
#> # ℹ 11 more variables: away_timeouts_current <int>,
#> #   away_timeouts_remaining <int>, home_team_fouls <int>,
#> #   home_team_fouls_current <int>, home_fouls_to_give <int>,
#> #   home_bonus_state <chr>, away_team_fouls <int>,
#> #   away_team_fouls_current <int>, away_fouls_to_give <int>,
#> #   away_bonus_state <chr>, last_play_ref <chr>
# }