
Get ESPN MBB Event Play Personnel (On-Court Lineup at Play)
Source:R/espn_mbb_event_detail.R, R/espn_nba_event_detail.R
espn_mbb_game_play_personnel.RdReturns the players on court at a specific MBB play in long format (one row per athlete entry across both competitors). Foundation for lineup analysis. ESPN coverage is sparse - many plays return zero rows; the wrapper returns a typed empty tibble in that case.
Returns the players on court at a specific NBA play in long format (one row per athlete entry across both competitors). Foundation for lineup analysis. ESPN coverage is sparse - many plays return zero rows; the wrapper returns a typed empty tibble in that case.
Usage
espn_mbb_game_play_personnel(event_id, play_id, ...)
espn_nba_game_play_personnel(event_id, play_id, ...)Value
A long tibble with one row per on-court athlete.
A long tibble with one row per on-court athlete.
See also
family_espn_mbb lists every function in this family.
family_espn_nba lists every function in this family.
Examples
# \donttest{
espn_mbb_game_play_personnel(event_id = 401256760, play_id = "401256760101805901")
#> ── ESPN MENS-COLLEGE-BASKETBALL Event Play Personnel ──────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-11-13 21:12:11 UTC
#> # A tibble: 0 × 7
#> # ℹ 7 variables: league <chr>, event_id <chr>, play_id <chr>, team_id <chr>,
#> # athlete_id <chr>, athlete_ref <chr>, competitor_ref <chr>
# }
# \donttest{
espn_nba_game_play_personnel(event_id = 401283399, play_id = 4012833994)
#> ── ESPN NBA Event Play Personnel ──────────────────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-11-13 21:12:11 UTC
#> # A tibble: 0 × 7
#> # ℹ 7 variables: league <chr>, event_id <chr>, play_id <chr>, team_id <chr>,
#> # athlete_id <chr>, athlete_ref <chr>, competitor_ref <chr>
# }