espn_mbb_game_all: *Get ESPN men's college basketball data (Pbp, Team and Player...

View source: R/espn_mbb_data.R

espn_mbb_game_allR Documentation

Get ESPN men's college basketball data (Pbp, Team and Player Box)

Description

Get ESPN men's college basketball data (Pbp, Team and Player Box)

Get ESPN men's college basketball PBP data

Get ESPN men's college basketball team box scores

Get ESPN men's college basketball player box scores

Get ESPN men's college basketball game rosters

Get ESPN MBB's Betting information

Get ESPN NBA game data (Pbp, Team and Player Box)

Get ESPN NBA PBP data

Get ESPN NBA team box scores

Get ESPN NBA player box scores

Get ESPN NBA game rosters

Get ESPN NBA's Betting information

Usage

espn_mbb_game_all(game_id)

espn_mbb_pbp(game_id)

espn_mbb_team_box(game_id)

espn_mbb_player_box(game_id)

espn_mbb_game_rosters(game_id)

espn_mbb_betting(game_id)

espn_nba_game_all(game_id)

espn_nba_pbp(game_id)

espn_nba_team_box(game_id)

espn_nba_player_box(game_id)

espn_nba_game_rosters(game_id)

espn_nba_betting(game_id)

Arguments

game_id

Game ID

Value

A named list of data frames: Plays, Team, Player

Plays

Columns as documented in the shared espn_mbb_game_all_plays_schema table.

Team

Columns as documented in the shared espn_mbb_game_all_team_schema table.

Player

Columns as documented in the shared espn_mbb_game_all_player_schema table.

A play-by-play data frame.

Plays

Columns as documented in the shared espn_mbb_game_all_plays_schema table.

A team boxscore data frame

Team

Columns as documented in the shared espn_mbb_game_all_team_schema table.

A player boxscore data frame

Player

Columns as documented in the shared espn_mbb_game_all_player_schema table.

A game rosters data frame

col_name types description
athlete_id integer Unique athlete identifier (ESPN).
athlete_uid character ESPN athlete UID (universal identifier).
athlete_guid character ESPN athlete GUID.
athlete_type character Athlete type / class.
sdr integer Sdr.
first_name character Player's first name.
last_name character Player's last name.
full_name character Player's full name.
athlete_display_name character Athlete display name (full).
short_name character Short display name.
weight integer Player weight in pounds.
display_weight character Player weight in display format (e.g. '180 lbs').
height integer Player height (string e.g. '6-2' or inches).
display_height character Player height in display format (e.g. '6-2').
age integer Player age (in years).
date_of_birth character Date of birth (YYYY-MM-DD).
birth_place_city character Birth place city.
birth_place_state character Birth place state.
birth_place_country character Birth place country.
slug character URL-safe identifier.
headshot_href character Headshot image URL.
headshot_alt character Alternative-text label for the headshot.
jersey character Jersey number worn by the player.
hand_type character Hand type.
hand_abbreviation character Hand abbreviation.
hand_display_value character Hand display value.
position_id integer Unique position identifier.
position_name character Listed roster position ('Guard', 'Forward', 'Center').
position_display_name character Position display name.
position_abbreviation character Position abbreviation ('G' / 'F' / 'C').
position_leaf logical Position leaf.
linked logical TRUE if the record is linked to a related entity.
experience_years integer Experience years.
experience_display_value character Experience display value.
experience_abbreviation character Experience abbreviation.
active logical TRUE if the row represents an active record (player / team / season).
draft_display_text character Draft display text.
draft_round integer Round of the draft selection.
draft_year integer Draft year (4-digit).
draft_selection integer Draft selection.
status_id integer Status identifier.
status_name character Status label.
status_type character Status type.
status_abbreviation character Status abbreviation.
starter logical TRUE if the player was in the starting lineup; FALSE otherwise.
valid logical Valid.
did_not_play logical TRUE if the player did not appear in the game.
display_name character Display name.
ejected logical TRUE if the player was ejected from the game.
team_id integer Unique team identifier.
team_guid character ESPN team GUID.
team_uid character ESPN universal team identifier (UID format 's:40~l:...~t:...').
team_sdr integer ESPN team SDR identifier.
team_slug character URL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
team_location character Team city or location string.
team_name character Full team display name (e.g. 'Las Vegas Aces').
team_nickname character Team nickname.
team_abbreviation character Short team abbreviation (e.g. 'LAS').
team_display_name character Full team display name.
team_short_display_name character Short team display name (e.g. 'Aces').
team_color character Team primary color (hex without leading '#').
team_alternate_color character Team alternate color (hex without leading '#').
is_active logical Is active.
is_all_star logical Is all star.
logo_href character Team or league logo URL.
logo_dark_href character Logo URL for dark backgrounds.
game_id integer Unique game identifier.
order integer Display order within the result set.
home_away character Game venue label ('home' or 'away').
winner logical Winner.
roster_href character URL for roster.

Returns a named list of data frames: pickcenter, againstTheSpread, predictor

pickcenter

Columns as documented in the shared espn_mbb_betting_pickcenter_schema table.

againstTheSpread

Columns as documented in the shared espn_mbb_betting_againstthespread_schema table.

predictor

Columns as documented in the shared espn_mbb_betting_predictor_schema table.

A named list of data frames: Plays, Team, Player

Plays

Columns as documented in the shared espn_nba_game_all_plays_schema table.

Team

Columns as documented in the shared espn_nba_game_all_team_schema table.

Player

Columns as documented in the shared espn_nba_game_all_player_schema table.

A play-by-play data frame.

Plays

Columns as documented in the shared espn_nba_game_all_plays_schema table.

A team boxscore data frame

Team

Columns as documented in the shared espn_nba_game_all_team_schema table.

A player boxscore data frame

Player

Columns as documented in the shared espn_nba_game_all_player_schema table.

A game rosters data frame

col_name types description
athlete_id integer Unique athlete identifier (ESPN).
athlete_uid character ESPN athlete UID (universal identifier).
athlete_guid character ESPN athlete GUID.
athlete_type character Athlete type / class.
sdr integer Sdr.
first_name character Player's first name.
last_name character Player's last name.
full_name character Player's full name.
athlete_display_name character Athlete display name (full).
short_name character Short display name.
weight integer Player weight in pounds.
display_weight character Player weight in display format (e.g. '180 lbs').
height integer Player height (string e.g. '6-2' or inches).
display_height character Player height in display format (e.g. '6-2').
age integer Player age (in years).
date_of_birth character Date of birth (YYYY-MM-DD).
debut_year integer Year of professional debut.
birth_place_city character Birth place city.
birth_place_state character Birth place state.
birth_place_country character Birth place country.
slug character URL-safe identifier.
headshot_href character Headshot image URL.
headshot_alt character Alternative-text label for the headshot.
jersey character Jersey number worn by the player.
position_id integer Unique position identifier.
position_name character Listed roster position ('Guard', 'Forward', 'Center').
position_display_name character Position display name.
position_abbreviation character Position abbreviation ('G' / 'F' / 'C').
position_leaf logical Position leaf.
linked logical TRUE if the record is linked to a related entity.
years integer Years.
active logical TRUE if the row represents an active record (player / team / season).
contract_bird_status integer Contract bird status.
contract_active logical Contract active.
contract_active_1 logical Contract active 1.
contract_incoming_trade_value integer Contract incoming trade value.
contract_outgoing_trade_value integer Contract outgoing trade value.
contract_minimum_salary_exception logical Contract minimum salary exception.
contract_option_type integer Contract option type.
contract_salary integer Contract salary.
contract_salary_remaining integer Contract salary remaining.
contract_years_remaining integer Contract years remaining.
contract_trade_kicker_active logical Contract trade kicker active.
contract_trade_kicker_percentage integer Contract trade kicker percentage (0-1 decimal).
contract_trade_kicker_value integer Contract trade kicker value.
contract_trade_kicker_trade_value integer Contract trade kicker trade value.
contract_trade_restriction logical Contract trade restriction.
contract_unsigned_foreign_pick logical Contract unsigned foreign pick.
contract_active_2 logical Contract active 2.
draft_display_text character Draft display text.
draft_round integer Round of the draft selection.
draft_year integer Draft year (4-digit).
draft_selection integer Draft selection.
status_id integer Status identifier.
status_name character Status label.
status_type character Status type.
status_abbreviation character Status abbreviation.
starter logical TRUE if the player was in the starting lineup; FALSE otherwise.
valid logical Valid.
did_not_play logical TRUE if the player did not appear in the game.
display_name character Display name.
reason character Reason.
ejected logical TRUE if the player was ejected from the game.
team_id integer Unique team identifier.
team_guid character ESPN team GUID.
team_uid character ESPN universal team identifier (UID format 's:40~l:...~t:...').
team_slug character URL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
team_location character Team city or location string.
team_name character Full team display name (e.g. 'Las Vegas Aces').
team_abbreviation character Short team abbreviation (e.g. 'LAS').
team_display_name character Full team display name.
team_short_display_name character Short team display name (e.g. 'Aces').
team_color character Team primary color (hex without leading '#').
team_alternate_color character Team alternate color (hex without leading '#').
team_is_active logical TRUE if the team is currently active.
team_is_all_star logical TRUE if the row represents an All-Star team.
logo_href character Team or league logo URL.
logo_dark_href character Logo URL for dark backgrounds.
logos_href_2 character Logos href 2.
logos_href_3 character Logos href 3.
game_id integer Unique game identifier.
order integer Display order within the result set.
home_away character Game venue label ('home' or 'away').
winner logical Winner.
citizenship character Citizenship.
contract_base_year_compensation_active logical Contract base year compensation active.
contract_base_year_compensation_expiration character Contract base year compensation expiration.
hand_type character Hand type.
hand_abbreviation character Hand abbreviation.
hand_display_value character Hand display value.

Returns a named list of data frames: pickcenter, againstTheSpread, predictor

pickcenter

Columns as documented in the shared espn_mbb_betting_pickcenter_schema table.

againstTheSpread

Columns as documented in the shared espn_mbb_betting_againstthespread_schema table.

predictor

Columns as documented in the shared espn_mbb_betting_predictor_schema table.

Author(s)

Saiem Gilani

See Also

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_odds(), 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_odds(), 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()

Examples


try(espn_mbb_game_all(game_id = 401479672))


try(espn_mbb_pbp(game_id = 401479672))



try(espn_mbb_team_box(game_id = 401479672))


try(espn_mbb_player_box(game_id = 401479672))


try(espn_mbb_game_rosters(game_id = 401256760))


try(espn_mbb_betting(game_id = 401256760))


try(espn_nba_game_all(game_id = 401283399))



try(espn_nba_pbp(game_id = 401071880))



try(espn_nba_team_box(game_id = 401071880))



try(espn_nba_player_box(game_id = 401071880))



try(espn_nba_game_rosters(game_id = 401283399))


try(espn_nba_betting(game_id = 401283399))


hoopR documentation built on Aug. 25, 2026, 9:07 a.m.