This is an R package for scraping NBA related data.
It is meant to replace my previous package, sportsTools. This one will be easier to use, and the code quality is higher. The code is heavily influenced by a Python package, nba_py.
There is no version of nbaTools on CRAN. To get the current development version from Github:
install.packages("devtools") # If you don't have devtools already installed
devtools::install_github("ccagrawal/nbaTools")
library(nbaTools)
Data is scraped from the following great sources:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.