nbastatR R Package

repository·master·Indexed 43 days ago

https://github.com/abresler/nbastatr

An 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.

Tokens
229
Snippets
2
Records
3
Agent score
6%

What's inside nbastatR

  1. Enable parallel computing in nbastatR

    master

    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)