nba_tidy_boxscore: *NBA Player Box Score with Team Context*

View source: R/nba_datasets.R

nba_tidy_boxscoreR Documentation

NBA Player Box Score with Team Context

Description

A traditional player box score with each player's team totals joined on (tactic C). nba_boxscoretraditionalv2() returns player-grain PlayerStats and team-grain TeamStats separately; this left-joins the team totals onto every player row by GAME_ID + TEAM_ID, suffixing the team columns with ⁠_team⁠.

Usage

nba_tidy_boxscore(game_id, ...)

Arguments

game_id

Game ID (10-digit, zero-padded e.g. "0022300061").

...

Additional arguments passed to nba_boxscoretraditionalv2().

Value

A hoopR_data tibble, one row per player, with the player's stats and their team's totals (team columns suffixed ⁠_team⁠).

See Also

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

Examples


  try(nba_tidy_boxscore(game_id = "0022300061"))


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