In this play-by-play data frame (NBA 2017-2018 Championship), the cases (rows) are the events occurred during the analyzed games and the variables (columns) are descriptions of the events in terms of type, time, players involved, score, area of the court.
A data.frame with 37430 rows and 48 variables:
Identification code for the game
Season: years and type (Regular or Playoffs)
Date of the game
Five players on the court (away team; home team)
Quarter (>= 5: over-time)
Score of the away/home team
Time left in the quarter (h:mm:ss)
Time played in the quarter (h:mm:ss)
Time since the immediately preceding event (h:mm:ss)
Identification code for the play
Team responsible for the event
Type of event
Player who made the assist
Players for the jump ball
Player who blocked the shot
Player who entered/left the court
Sequence number of the free throw
Player who made the foul
Number of free throws accorded
Player responsible for the event
Player who the jump ball is tipped to
Reason of the turnover
Result of the shot (made or missed)
Player who stole the ball
Type of play
Field shots: distance from the basket
Coordinates of the shooting player.
original: tracking coordinate system half court, (0,0) center of the basket;
converted: coordinates in feet full court, (0,0) bottom-left corner
Textual description of the event
Marco Sandri, Paola Zuccolotto, Marica Manisera (email@example.com)
P. Zuccolotto and M. Manisera (2020) Basketball Data Science: With Applications in R. CRC Press.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.