NBA Plays From 2022-2023 Season
Every play from the 2022-2023 NBA season including shot locations.
@kaggle.brendankdata_nbaplays22_23
Every play from the 2022-2023 NBA season including shot locations.
@kaggle.brendankdata_nbaplays22_23
| Column Name | Description | Example value | Example description |
|---|---|---|---|
| game_id | Game Id | S2223-G0812 | The 812th game of the 2022-2023 NBA season |
| period | Period of play | 3 | The 3rd quarter of the game |
| clock | Game-clock at time of play | 06:13 | 6 minutes and 13 seconds remain in the quarter |
| home | Home team | BOS | The Boston Celtics as the home team |
| scoreHome | Home team points at time of play | 80 | The home team has 80 points |
| away | Away team | DEN | The Denver Nuggets as the away team |
| scoreAway | Away team points at time of play | 78 | The away team has 78 points |
| playerNameI | Player making the play | J. Tatum | Jason Tatum |
| teamTricode | Team of the player making the play | BOS | Boston Celtics |
| description | The description of the play | Tatum 3' Driving Layup (4 PTS) (Horford 4 AST) | Horford gets his 4th assist and Tatum gets his 4th point from a 3-foot driving layup |
| actionType | What kind of play | Rebound | A rebound |
| subType | A more detailed description of an actionType | Driving Floating Bank Jump Shot | A driving, floating, bank jump shot |
| xLegacy | The horizontal position of a player's shot | -99 | 9.9 feet to the left of the basket |
| yLegacy | The vertical position of a player's shot | 40 | 4 feet from the baseline |
| shotDistance | The distance from the basket of a field goal | 11 | An 11-foot shot |
| isFieldGoal | Whether the play is or isn't a field goal | 1 | The play is a field goal |
| shotVal | The number of points that could be scored from a play | 3 | The play was a 3-point shot |
| scoreVal | The number of points that were scored on a play | 2 | 2 points were scored |
| location | Which side of the court the play occurred | v | The visiting team's side |
CREATE TABLE por (
"game_id" VARCHAR,
"period" BIGINT,
"clock" VARCHAR,
"home" VARCHAR,
"scorehome" DOUBLE,
"away" VARCHAR,
"scoreaway" DOUBLE,
"playernamei" VARCHAR,
"teamtricode" VARCHAR,
"description" VARCHAR,
"actiontype" VARCHAR,
"subtype" VARCHAR,
"xlegacy" BIGINT,
"ylegacy" BIGINT,
"shotdistance" BIGINT,
"isfieldgoal" BIGINT,
"shotval" DOUBLE,
"scoreval" DOUBLE,
"location" VARCHAR
);CREATE TABLE sac (
"game_id" VARCHAR,
"period" BIGINT,
"clock" VARCHAR,
"home" VARCHAR,
"scorehome" DOUBLE,
"away" VARCHAR,
"scoreaway" DOUBLE,
"playernamei" VARCHAR,
"teamtricode" VARCHAR,
"description" VARCHAR,
"actiontype" VARCHAR,
"subtype" VARCHAR,
"xlegacy" BIGINT,
"ylegacy" BIGINT,
"shotdistance" BIGINT,
"isfieldgoal" BIGINT,
"shotval" DOUBLE,
"scoreval" DOUBLE,
"location" VARCHAR
);CREATE TABLE sas (
"game_id" VARCHAR,
"period" BIGINT,
"clock" VARCHAR,
"home" VARCHAR,
"scorehome" DOUBLE,
"away" VARCHAR,
"scoreaway" DOUBLE,
"playernamei" VARCHAR,
"teamtricode" VARCHAR,
"description" VARCHAR,
"actiontype" VARCHAR,
"subtype" VARCHAR,
"xlegacy" BIGINT,
"ylegacy" BIGINT,
"shotdistance" BIGINT,
"isfieldgoal" BIGINT,
"shotval" DOUBLE,
"scoreval" DOUBLE,
"location" VARCHAR
);CREATE TABLE tor (
"game_id" VARCHAR,
"period" BIGINT,
"clock" VARCHAR,
"home" VARCHAR,
"scorehome" DOUBLE,
"away" VARCHAR,
"scoreaway" DOUBLE,
"playernamei" VARCHAR,
"teamtricode" VARCHAR,
"description" VARCHAR,
"actiontype" VARCHAR,
"subtype" VARCHAR,
"xlegacy" BIGINT,
"ylegacy" BIGINT,
"shotdistance" BIGINT,
"isfieldgoal" BIGINT,
"shotval" DOUBLE,
"scoreval" DOUBLE,
"location" VARCHAR
);CREATE TABLE uta (
"game_id" VARCHAR,
"period" BIGINT,
"clock" VARCHAR,
"home" VARCHAR,
"scorehome" DOUBLE,
"away" VARCHAR,
"scoreaway" DOUBLE,
"playernamei" VARCHAR,
"teamtricode" VARCHAR,
"description" VARCHAR,
"actiontype" VARCHAR,
"subtype" VARCHAR,
"xlegacy" BIGINT,
"ylegacy" BIGINT,
"shotdistance" BIGINT,
"isfieldgoal" BIGINT,
"shotval" DOUBLE,
"scoreval" DOUBLE,
"location" VARCHAR
);CREATE TABLE was (
"game_id" VARCHAR,
"period" BIGINT,
"clock" VARCHAR,
"home" VARCHAR,
"scorehome" DOUBLE,
"away" VARCHAR,
"scoreaway" DOUBLE,
"playernamei" VARCHAR,
"teamtricode" VARCHAR,
"description" VARCHAR,
"actiontype" VARCHAR,
"subtype" VARCHAR,
"xlegacy" BIGINT,
"ylegacy" BIGINT,
"shotdistance" BIGINT,
"isfieldgoal" BIGINT,
"shotval" DOUBLE,
"scoreval" DOUBLE,
"location" VARCHAR
);Anyone who has the link will be able to view this.