PbP.BDB: Play-by-play dataset - NBA 2017-2018

Description Usage Format Author(s) Source References

Description

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.

Usage

1

Format

A data.frame with 37430 rows and 48 variables:

game_id

Identification code for the game

data_set

Season: years and type (Regular or Playoffs)

date

Date of the game

a1 ... a5; h1 ... h5

Five players on the court (away team; home team)

period

Quarter (>= 5: over-time)

away_score; home_score

Score of the away/home team

remaining_time

Time left in the quarter (h:mm:ss)

elapsed

Time played in the quarter (h:mm:ss)

play_length

Time since the immediately preceding event (h:mm:ss)

play_id

Identification code for the play

team

Team responsible for the event

event_type

Type of event

assist

Player who made the assist

away; home

Players for the jump ball

block

Player who blocked the shot

entered; left

Player who entered/left the court

num

Sequence number of the free throw

opponent

Player who made the foul

outof

Number of free throws accorded

player

Player responsible for the event

points

Scored points

possession

Player who the jump ball is tipped to

reason

Reason of the turnover

result

Result of the shot (made or missed)

steal

Player who stole the ball

type

Type of play

shot_distance

Field shots: distance from the basket

original_x ; original_y; converted_x ; converted_y

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

description

Textual description of the event

Author(s)

Marco Sandri, Paola Zuccolotto, Marica Manisera (basketballanalyzer.help@unibs.it)

Source

https://github.com/sndmrc/BasketballAnalyzeR

References

P. Zuccolotto and M. Manisera (2020) Basketball Data Science: With Applications in R. CRC Press.


BasketballAnalyzeR documentation built on July 2, 2020, 2:14 a.m.