nba_tidy_player_profile: *NBA Player Profile (nested by table)*

View source: R/nba_datasets.R

nba_tidy_player_profileR Documentation

NBA Player Profile (nested by table)

Description

A player's full profile collapsed to one self-describing tibble (tactic D). nba_playerprofilev2() returns many heterogeneous, PLAYER_ID-keyed sets (season totals, career totals, season/career highs, rankings, next game); this nests each populated set into a .data list-column, one row per ⁠(set_name, PLAYER_ID)⁠. Recover a table with tidyr::unnest().

Usage

nba_tidy_player_profile(player_id, ...)

Arguments

player_id

Player ID (e.g. 201939).

...

Additional arguments passed to nba_playerprofilev2().

Value

A hoopR_data tibble with set_name, PLAYER_ID and a .data list-column.

See Also

Other NBA Combined Datasets: nba_tidy_boxscore(), nba_tidy_franchise_history()

Examples


  prof <- try(nba_tidy_player_profile(player_id = 201939))


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