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().
Arguments
- player_id
Player ID (e.g.
201939).- ...
Additional arguments passed to
nba_playerprofilev2().
See also
Other NBA Combined Datasets:
nba_tidy_boxscore(),
nba_tidy_franchise_history()
Examples
if (FALSE) { # interactive()
# \donttest{
prof <- try(nba_tidy_player_profile(player_id = 201939))
# }
}
