Basic scraper in R to grab the NBA sport tracking data from website and load it into one data frame. For more information, see blog post here.
nbascraper.Ris the actual code for scraping the data.nba_data_5-10.csvandnba.csvare somewhat-recent copies of the resulting CSV (if you just want the data).
In addition to the R code documented above, this repo also contains a related python script for pulling additional player metadata (e.g. positions, birthdates, etc.) from the NBA website via an internal API.
pullPositions.pyis the script for pulling the position (and other) metadataposition_data.csvis the resulting CSV.