added data descriptions
Browse files
README.md
CHANGED
|
@@ -40,43 +40,44 @@ This dataset has many potential uses. Primarily, visualization of plays, as illu
|
|
| 40 |
|
| 41 |
The data is in the following dictionary format:
|
| 42 |
|
| 43 |
-
- 'gameid': str
|
| 44 |
-
- 'gamedate': str
|
| 45 |
-
- 'event_info':
|
| 46 |
-
- 'eventid': str
|
| 47 |
-
- 'type': int
|
| 48 |
-
- 'possession_team_id': float
|
| 49 |
-
- 'desc_home': str
|
| 50 |
-
- 'desc_away': str
|
| 51 |
- 'primary_info':
|
| 52 |
-
- 'team': str
|
| 53 |
-
- 'player_id': float
|
| 54 |
-
- 'team_id': float
|
| 55 |
-
- 'secondary_info': same format as primary info
|
| 56 |
- 'visitor':
|
| 57 |
-
- 'name': str
|
| 58 |
-
- 'teamid': int
|
| 59 |
-
- 'abbreviation': str
|
| 60 |
- 'players': list of the dictionaries in the form of the following
|
| 61 |
-
- 'lastname': str
|
| 62 |
-
- 'firstname': str
|
| 63 |
-
- 'playerid': str
|
| 64 |
-
- 'number': int
|
| 65 |
-
- 'position': str
|
| 66 |
- 'home': same format as visitor
|
| 67 |
-
- '
|
| 68 |
-
- '
|
| 69 |
-
- '
|
| 70 |
-
- '
|
| 71 |
-
- '
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
- '
|
| 75 |
-
- '
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
|
|
|
| 80 |
|
| 81 |
## Requirements
|
| 82 |
|
|
|
|
| 40 |
|
| 41 |
The data is in the following dictionary format:
|
| 42 |
|
| 43 |
+
- 'gameid': str (ID for the game)
|
| 44 |
+
- 'gamedate': str (date the game occured on)
|
| 45 |
+
- 'event_info':
|
| 46 |
+
- 'eventid': str (ID for the event in the given game)
|
| 47 |
+
- 'type': int (number corresponding to event type)
|
| 48 |
+
- 'possession_team_id': float (team ID of team in possession during the event)
|
| 49 |
+
- 'desc_home': str (description of the event for the home team)
|
| 50 |
+
- 'desc_away': str (description of the event for the away team)
|
| 51 |
- 'primary_info':
|
| 52 |
+
- 'team': str (home or visitor)
|
| 53 |
+
- 'player_id': float (ID of primary player involved in event)
|
| 54 |
+
- 'team_id': float (ID of team for primary player)
|
| 55 |
+
- 'secondary_info': same format as primary info, but for a secondary player involved
|
| 56 |
- 'visitor':
|
| 57 |
+
- 'name': str (team name)
|
| 58 |
+
- 'teamid': int (team ID)
|
| 59 |
+
- 'abbreviation': str (abbreviation of team name)
|
| 60 |
- 'players': list of the dictionaries in the form of the following
|
| 61 |
+
- 'lastname': str (player last name)
|
| 62 |
+
- 'firstname': str (player first name)
|
| 63 |
+
- 'playerid': str (player ID)
|
| 64 |
+
- 'number': int (player jersey number)
|
| 65 |
+
- 'position': str (player in-game position)
|
| 66 |
- 'home': same format as visitor
|
| 67 |
+
- 'moments': list of dictionaries in the form of the following
|
| 68 |
+
- 'quarter': int (quarter of moment)
|
| 69 |
+
- 'game_clock': float (game clock (seconds, descending starting from 720))
|
| 70 |
+
- 'shot_clock': float (shot clock (seconds, descending starting from 24))
|
| 71 |
+
- 'ball_coordinates':
|
| 72 |
+
- 'x': float (x coordinate of ball)
|
| 73 |
+
- 'y': float (y coordinate of ball)
|
| 74 |
+
- 'z': float (z coordinate of ball)
|
| 75 |
+
- 'player_coordinates': list of the dictionaries in the form of the following,
|
| 76 |
+
- 'teamid': int (team ID of player)
|
| 77 |
+
- 'playerid': int (player ID for player)
|
| 78 |
+
- 'x': float (x coordinate of player)
|
| 79 |
+
- 'y': float (y coordinate of player)
|
| 80 |
+
- 'z': float (z coordinate of player)
|
| 81 |
|
| 82 |
## Requirements
|
| 83 |
|