Skip to contents

Retrieves G-League play-by-play using the NBA Stats play-by-play pipeline.

Usage

nbagl_pbp(game_id, on_court = TRUE, ...)

Arguments

game_id

Game ID - 10 digits, i.e. 0021900001

on_court

If TRUE (default), on-court player IDs are added for each play event.

...

Additional arguments passed to an underlying function like httr.

Value

A hoopR_data tibble with one row per play-by-play event. Its columns are listed in return_columns (subset(return_columns, fn == "nbagl_pbp")) and in the searchable return columns article.

Details

 nbagl_pbp(game_id = "2052500034")

Author

Billy Fryer