This R package lets you retrieve and explore data hosted on stats.nba.com. All data is owned by the NBA, so please abide by their terms of use (see http://www.nba.com/news/termsofuse.html) when publishing anything resulting from the use of this package.
To install and load the package, use the commands below (the devtools package must be installed first). To learn more about the functionality, first look at the "Getting Started" wiki page here on Github and the package vignettes.
library(devtools)
devtools::install_github("llefebure/nba-stats")
library(rNBA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.