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.
Returns pre-game predictor statistics for one MBB event in long format: one row per (team × statistic). Typical stats include matchup quality, predicted score, win probability, and team strength metrics. Returns empty for events without predictor data (often the case for already-played games).
Returns the per-team power-index $ref URLs for one MBB event.
Coverage is sparse — many events return zero items.
Returns the live game situation for one NBA 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.
Returns pre-game predictor statistics for one NBA event in long format: one row per (team × statistic). Typical stats include matchup quality, predicted score, win probability, and team strength metrics. Returns empty for events without predictor data (often the case for already-played games).
Returns the per-team power-index $ref URLs for one NBA event.
Coverage is sparse — many events return zero items.
espn_mbb_game_odds(event_id, ...)espn_mbb_game_officials(event_id, ...)
espn_mbb_game_broadcasts(event_id, ...)
espn_mbb_game_situation(event_id, ...)
espn_mbb_game_predictor(event_id, ...)
espn_mbb_game_powerindex(event_id, ...)
espn_nba_game_odds(event_id, ...)
espn_nba_game_officials(event_id, ...)
espn_nba_game_broadcasts(event_id, ...)
espn_nba_game_situation(event_id, ...)
espn_nba_game_predictor(event_id, ...)
espn_nba_game_powerindex(event_id, ...)
A tibble with one row per odds provider (typically empty for MBB because ESPN does not carry NCAA basketball betting lines).
Columns as documented in the shared espn_mbb_game_odds_schema table.
A tibble with one row per official assigned to the game.
Columns as documented in the shared espn_mbb_game_officials_schema table.
A tibble with one row per broadcast outlet for the game.
Columns as documented in the shared espn_mbb_game_broadcasts_schema table.
A single-row tibble with timeouts + fouls for both teams.
A long tibble with rows for both home and away teams.
A tibble with one row per team-game power-index entry.
A tibble with one row per odds provider.
Columns as documented in the shared espn_mbb_game_odds_schema table.
A tibble with one row per official assigned to the game.
Columns as documented in the shared espn_mbb_game_officials_schema table.
A tibble with one row per broadcast outlet for the game.
Columns as documented in the shared espn_mbb_game_broadcasts_schema table.
A single-row tibble with timeouts + fouls for both teams.
A long tibble with rows for both home and away teams.
A tibble with one row per team-game power-index entry.
ESPN event/game identifier (character or numeric).
Additional arguments; currently unused but retained for
forward compatibility. Proxy configuration should use
options(hoopR.proxy = ...) -- see ?hoopR for details.
Saiem Gilani
Get ESPN MBB Event Predictor (Pre-game)
Get ESPN MBB Event Power Index Index
Get ESPN NBA Event Predictor (Pre-game)
Get ESPN NBA Event Power Index Index
Other ESPN MBB Functions:
espn_mbb_athletes_index(),
espn_mbb_award(),
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_official_detail(),
espn_mbb_game_play(),
espn_mbb_game_play_personnel(),
espn_mbb_game_player_box(),
espn_mbb_game_probabilities(),
espn_mbb_game_propbets(),
espn_mbb_game_team_linescores(),
espn_mbb_game_team_roster_entry(),
espn_mbb_injuries(),
espn_mbb_leaders(),
espn_mbb_news(),
espn_mbb_player_awards(),
espn_mbb_player_career_stats(),
espn_mbb_player_eventlog_v2(),
espn_mbb_player_info(),
espn_mbb_player_overview(),
espn_mbb_player_seasons(),
espn_mbb_player_stats(),
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_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_current_roster(),
espn_mbb_team_injuries(),
espn_mbb_team_news(),
espn_mbb_team_odds_records(),
espn_mbb_team_record(),
espn_mbb_team_record_detail(),
espn_mbb_team_schedule(),
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()
Other ESPN NBA Functions:
espn_mbb_athletes_index(),
espn_mbb_award(),
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_official_detail(),
espn_mbb_game_play(),
espn_mbb_game_play_personnel(),
espn_mbb_game_player_box(),
espn_mbb_game_probabilities(),
espn_mbb_game_propbets(),
espn_mbb_game_team_linescores(),
espn_mbb_game_team_roster_entry(),
espn_mbb_injuries(),
espn_mbb_leaders(),
espn_mbb_news(),
espn_mbb_player_awards(),
espn_mbb_player_career_stats(),
espn_mbb_player_eventlog_v2(),
espn_mbb_player_info(),
espn_mbb_player_overview(),
espn_mbb_player_seasons(),
espn_mbb_player_stats(),
espn_mbb_position(),
espn_mbb_positions(),
espn_mbb_powerindex(),
espn_mbb_scoreboard(),
espn_mbb_season_awards(),
espn_mbb_season_group(),
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_current_roster(),
espn_mbb_team_injuries(),
espn_mbb_team_news(),
espn_mbb_team_odds_records(),
espn_mbb_team_record(),
espn_mbb_team_record_detail(),
espn_mbb_team_schedule(),
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(),
espn_nba_draft_pick(),
espn_nba_freeagents(),
espn_nba_player_contracts(),
espn_nba_team_depthchart(),
espn_nba_transactions()
# \donttest{
espn_mbb_game_odds(event_id = "401256760")
# }
# \donttest{
espn_mbb_game_officials(event_id = "401256760")
# }
# \donttest{
espn_mbb_game_broadcasts(event_id = "401256760")
# }
# \donttest{
espn_mbb_game_situation(event_id = 401256760)
# }
# \donttest{
espn_mbb_game_predictor(event_id = 401256760)
# }
# \donttest{
espn_mbb_game_powerindex(event_id = 401256760)
# }
# \donttest{
espn_nba_game_odds(event_id = "401283399")
# }
# \donttest{
espn_nba_game_officials(event_id = "401283399")
# }
# \donttest{
espn_nba_game_broadcasts(event_id = "401283399")
# }
# \donttest{
espn_nba_game_situation(event_id = 401283399)
# }
# \donttest{
espn_nba_game_predictor(event_id = 401283399)
# }
# \donttest{
espn_nba_game_powerindex(event_id = 401283399)
# }
Run the code above in your browser using DataLab