To install baRt, run the following code inside your R session:
devtools::install_github("andreweatherman/baRt")
library(baRt)
baRt includes 20 functions for scraping player and team data, game results, advanced metric splits, play-by-play shooting, and more. Highlights include:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.