espn_mbb_wp: *Men's College Basketball win probability chart data from...

View source: R/espn_mbb_wp.R

espn_mbb_wpR Documentation

Men's College Basketball win probability chart data from ESPN

Description

Men's College Basketball win probability chart data from ESPN

Usage

espn_mbb_wp(game_id)

Arguments

game_id

(Integer required): Game ID filter for querying a single game

Value

espn_mbb_wp() - A data frame with 9 variables:

game_id: character.

Referencing game ID (should be same as game_id from other functions).

play_id: character.

Referencing play ID.

period: integer.

Clock (time) left in the game.

time_left: character.

Clock (time) left in the game.

period_seconds_left: integer.

Seconds left in the period.

game_seconds_left: integer.

Seconds left in the game.

home_win_percentage: double.

The probability of the home team winning the game.

away_win_percentage: double.

The probability of the away team winning the game (calculated as 1 - home_win_percentage - tie_percentage).

tie_percentage: double.

The probability of the game ending the final period in a tie.

See Also

Other ESPN MBB Functions: espn_mbb_betting(), espn_mbb_conferences(), espn_mbb_game_all(), 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()

Examples


  espn_mbb_wp(game_id = 401256760)



hoopR documentation built on Nov. 26, 2023, 1:07 a.m.