Overview of nbastatR data sources
masternbastatR provides wrappers to access data from several NBA-related sources, including:
- NBA Stats API
- Basketball-Reference
- HoopsHype
- nbadraft.net
- realgm
- Basketball Insiders
repository·master·Indexed 43 days ago
https://github.com/abresler/nbastatrAn R package providing wrappers to access NBA data from sources including the NBA Stats API, Basketball-Reference, RealGM, HoopsHype, nbadraft.net, and Basketball Insiders. Supports parallel computing for iterative functions via the future package.
nbastatR provides wrappers to access data from several NBA-related sources, including:
nbastatR supports parallel computing for all iterative functions. To enable this, use the future::plan function from the future package to select your preferred execution method (e.g., multiprocess).
library(nbastatR)
library(future)
plan(multiprocess)
# Iterative functions like game_logs will now run in parallel
game_logs(seasons = 2010:2019)To install the nbastatR package directly from GitHub, use the devtools::install_github function.
devtools::install_github("abresler/nbastatR")