
Get ESPN MBB Team Odds-Records (Long Format)
Source:R/espn_mbb_team_deep.R
espn_mbb_team_odds_records.RdReturns the long-format odds-records breakdown for a team in one season. Each row is one (category × stat) — typical categories include Money Line Overall, Money Line Home, Money Line Road, Against The Spread Overall, Over/Under, etc. ESPN's coverage of this endpoint is sparse; many (team × season-type) combinations return 404, in which case the wrapper returns an empty tibble.
Usage
espn_mbb_team_odds_records(
team_id,
season = most_recent_mbb_season(),
season_type = 0L,
...
)Value
A long tibble with one row per (category × stat).
| col_name | types | description |
| league | character | League slug. |
| team_id | character | ESPN team identifier. |
| season | integer | Season year. |
| season_type | integer | Season-type id. |
| category_type | character | Category type code (e.g. "moneyLineOverall"). |
| category_abbrev | character | Category abbreviation (e.g. "ML"). |
| category_short | character | Short display. |
| category_display | character | Full category name. |
| stat_type | character | Stat type code (e.g. "win", "loss"). |
| stat_abbrev | character | Stat abbreviation (e.g. "W", "L"). |
| stat_display | character | Stat display name. |
| value | numeric | Numeric stat value. |
| display_value | character | Display-formatted value. |
See also
Other ESPN MBB Functions:
espn_mbb_athlete_awards(),
espn_mbb_athlete_career_stats(),
espn_mbb_athlete_eventlog(),
espn_mbb_athlete_eventlog_v2(),
espn_mbb_athlete_gamelog(),
espn_mbb_athlete_info(),
espn_mbb_athlete_overview(),
espn_mbb_athlete_seasons(),
espn_mbb_athlete_splits(),
espn_mbb_athlete_statisticslog(),
espn_mbb_athlete_stats(),
espn_mbb_athletes_index(),
espn_mbb_award(),
espn_mbb_betting(),
espn_mbb_calendar(),
espn_mbb_coach(),
espn_mbb_coach_season(),
espn_mbb_coaches(),
espn_mbb_conferences(),
espn_mbb_event_broadcasts(),
espn_mbb_event_odds(),
espn_mbb_event_officials(),
espn_mbb_event_powerindex(),
espn_mbb_event_predictor(),
espn_mbb_event_probabilities(),
espn_mbb_event_propbets(),
espn_mbb_event_situation(),
espn_mbb_franchise(),
espn_mbb_franchises(),
espn_mbb_futures(),
espn_mbb_game_all(),
espn_mbb_game_rosters(),
espn_mbb_injuries(),
espn_mbb_leaders(),
espn_mbb_news(),
espn_mbb_pbp(),
espn_mbb_player_box(),
espn_mbb_player_stats(),
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_record(),
espn_mbb_team_roster(),
espn_mbb_team_schedule(),
espn_mbb_team_season_profile(),
espn_mbb_team_season_roster(),
espn_mbb_team_stats(),
espn_mbb_teams(),
espn_mbb_tournament(),
espn_mbb_tournament_seasons(),
espn_mbb_tournaments(),
espn_mbb_venues(),
espn_mbb_week_ranking(),
espn_mbb_week_rankings(),
espn_mbb_wp()
Examples
# \donttest{
espn_mbb_team_odds_records(team_id = 1, season = 2026)
#> ✖ 2026-05-19 01:33:29.94871: Failed to retrieve ESPN mens-college-basketball team odds-records for team_id=1, season=2026
#> ✖ Args: league = "mens-college-basketball", team_id = 1, season = 2026, season_type = 0L
#> ✖ Error: The API returned an error
#> NULL
# }