get_all_on_off: Download all on_off combinations and merge into one table

Description Usage Arguments Value Author(s) Examples

View source: R/get_all_on_off.R

Description

Wrapper for processing NBA.com player on_off data

Usage

1
2
3
4
5
6
7
8
9
get_all_on_off(
  season,
  teams = c(1610612760, 1610612748, 1610612759, 1610612740, 1610612763, 1610612751,
    1610612752, 1610612753, 1610612749, 1610612747, 1610612757, 1610612761, 1610612741,
    1610612758, 1610612756, 1610612766, 1610612742, 1610612743, 1610612750, 1610612764,
    1610612737, 1610612746, 1610612754, 1610612762, 1610612755, 1610612765, 1610612744,
    1610612738, 1610612745, 1610612739),
  ...
)

Arguments

season

Number of the year in which season started

teams

Specify team_ids

...

Additional arguments for get_on_off

Value

Dataset from stats.nba.com

Author(s)

Patrick Chodowski, Chodowski.Patrick@gmail.com

Examples

1
2
3
season <- 2019
teams <- c(1610612760,1610612748,1610612759)
df <- get_all_on_off(season, teams)

PatrickChodowski/NBAr documentation built on April 20, 2021, 10:21 p.m.