tidynbadata_pbp | R Documentation |
play-by-play data of game 47899. The data are from the perspective of the home team (NY Knicks) so that 'this' columns refer to the Knicks and 'opp' columns to the Bucks. Note that you can get play-by-play data from the same game, from the perspective of the Bucks with load_pbp(game_id = 47899, team = "Bucks')
tidynbadata_pbp
a data.frame with 584 rows and 65 columns of play-by-play data from a single nba game
a short text description of the event
indicates who won the jump ball. Will be NA, 'this', 'opp' or 'neither'
id of player to whom jump ball was tipped
id of player on reference team taking the jump ball
id of player on opponent team taking the jump ball
the integer number of the quarter or overtime period (5 is first OT)
number of game seconds elapsed since start of this quarter
number of game seconds elapsed since start of this game
a length 5 vector of players on the floor for the reference team
a length 5 vector of players on the floor for the opposing team
a hyphen separated string of player ids, sorted low to high, concatenated from gs_this_pof_vec
a hyphen separated string of player ids, sorted low to high, concatenated from gs_opp_pof_vec
an integer indicating how many seconds until the occurence of the next event (row) in the data. Use this column to compute playing time
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.