espn_mbb_game_all {hoopR}R 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)

Usage

espn_mbb_game_all(game_id)

Arguments

game_id

Game ID

Value

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

Plays

col_name types
id character
sequence_number character
text character
away_score integer
home_score integer
scoring_play logical
score_value integer
wallclock character
shooting_play logical
type_id integer
type_text character
period_number integer
period_display_value character
clock_display_value character
team_id integer
coordinate_x_raw numeric
coordinate_y_raw numeric
coordinate_x numeric
coordinate_y numeric
play_id character
athlete_id_1 integer
athlete_id_2 integer
home_team_id integer
home_team_mascot character
home_team_name character
home_team_abbrev character
home_team_logo character
home_team_logo_dark character
home_team_full_name character
home_team_color character
home_team_alternate_color character
home_team_score integer
home_team_winner logical
home_team_record character
away_team_id integer
away_team_mascot character
away_team_name character
away_team_abbrev character
away_team_logo character
away_team_logo_dark character
away_team_full_name character
away_team_color character
away_team_alternate_color character
away_team_score integer
away_team_winner logical
away_team_record character
game_id integer
season integer
season_type integer
game_date Date
game_date_time POSIXct

Team

col_name types
game_id integer
season integer
season_type integer
game_date Date
game_date_time POSIXct
team_id integer
team_uid character
team_slug character
team_location character
team_name character
team_abbreviation character
team_display_name character
team_short_display_name character
team_color character
team_alternate_color character
team_logo character
team_home_away character
team_score integer
team_winner logical
assists integer
blocks integer
defensive_rebounds integer
field_goal_pct numeric
field_goals_made integer
field_goals_attempted integer
flagrant_fouls integer
fouls integer
free_throw_pct numeric
free_throws_made integer
free_throws_attempted integer
largest_lead character
offensive_rebounds integer
steals integer
team_turnovers integer
technical_fouls integer
three_point_field_goal_pct numeric
three_point_field_goals_made integer
three_point_field_goals_attempted integer
total_rebounds integer
total_technical_fouls integer
total_turnovers integer
turnovers integer
opponent_team_id integer
opponent_team_uid character
opponent_team_slug character
opponent_team_location character
opponent_team_name character
opponent_team_abbreviation character
opponent_team_display_name character
opponent_team_short_display_name character
opponent_team_color character
opponent_team_alternate_color character
opponent_team_logo character
opponent_team_score integer

Player

col_name types
game_id integer
season integer
season_type integer
game_date Date
game_date_time POSIXct
athlete_id integer
athlete_display_name character
team_id integer
team_name character
team_location character
team_short_display_name character
minutes numeric
field_goals_made integer
field_goals_attempted integer
three_point_field_goals_made integer
three_point_field_goals_attempted integer
free_throws_made integer
free_throws_attempted integer
offensive_rebounds integer
defensive_rebounds integer
rebounds integer
assists integer
steals integer
blocks integer
turnovers integer
fouls integer
points integer
starter logical
ejected logical
did_not_play logical
active logical
athlete_jersey character
athlete_short_name character
athlete_headshot_href character
athlete_position_name character
athlete_position_abbreviation character
team_display_name character
team_uid character
team_slug character
team_logo character
team_abbreviation character
team_color character
team_alternate_color character
home_away character
team_winner logical
team_score integer
opponent_team_id integer
opponent_team_name character
opponent_team_location character
opponent_team_display_name character
opponent_team_abbreviation character
opponent_team_logo character
opponent_team_color character
opponent_team_alternate_color character
opponent_team_score integer

Author(s)

Saiem Gilani

See Also

Other ESPN MBB Functions: espn_mbb_betting(), espn_mbb_conferences(), espn_mbb_game_rosters(), espn_mbb_pbp(), espn_mbb_player_box(), espn_mbb_player_stats(), espn_mbb_rankings(), espn_mbb_scoreboard(), espn_mbb_standings(), espn_mbb_team_box(), espn_mbb_team_stats(), espn_mbb_teams(), espn_mbb_wp()

Examples


  try(espn_mbb_game_all(game_id = 401479672))


[Package hoopR version 2.1.0 Index]