Skip to contents

Scrapes the NBA Data API for Play By Play for G League games

Usage

nbagl_pbp(game_id, ...)

Arguments

game_id

Game ID - 10 digits, i.e. 0021900001

...

Additional arguments passed to an underlying function like httr.

Value

Returns a data frame of play by play with the following columns:

col_nametypes
periodinteger
evtinteger
wallclkcharacter
clcharacter
decharacter
locXinteger
locYinteger
opt1integer
opt2integer
opt3integer
opt4integer
mtypeinteger
etypeinteger
opidcharacter
tidinteger
pidinteger
hsinteger
vsinteger
epidcharacter
oftidinteger
ordinteger
ptsinteger

Details

 nbagl_pbp(game_id = "2012200001")

See also

Other NBA G-League Functions: nbagl_players(), nbagl_schedule(), nbagl_standings()

Author

Billy Fryer