nba_all_elo.Rd
This directory contains the data behind the interactive "The Complete History Of The NBA" http://fivethirtyeight.com/interactives/the-complete-history-of-every-nba-team-by-elo.
nba_all_elo
A data frame with 63157 rows representing basketball games and 23 variables:
Play order of game in NBA history
Unique ID for each game
Which league the game was played in
Season id, named based on year in which the season ended
Game date
Number of games home team has played in season
Flag for playoff games
Three letter code for home team name, from Basketball Reference
Home team franchise id. Multiple team_ids can fall under the same fran_id due to name changes or moves. Interactive is grouped by fran_id.
Points scored by home team
Home team elo entering the game
Home team elo following the game
Equivalent number of wins in a 82-game season for a team of elo_n quality
Team id of opponent
Franchise id of opponent
Points scored by opponent
Opponent elo entering the game
Opponent elo following the game
Opponent equivalent number of wins in a 82-game season for a team of elo_n quality
Number of games opponent has played in season
Win or loss for team in the team_id column
Elo-based chances of winning for the team in the team_id column, based on elo ratings and game location
Additional information
Basketball Reference: http://www.basketball-reference.com/.