| nba_tidy_player_profile | R Documentation |
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().
nba_tidy_player_profile(player_id, ...)
player_id |
Player ID (e.g. |
... |
Additional arguments passed to |
A hoopR_data tibble with set_name, PLAYER_ID and a .data
list-column.
Other NBA Combined Datasets:
nba_tidy_boxscore(),
nba_tidy_franchise_history()
prof <- try(nba_tidy_player_profile(player_id = 201939))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.