get_pbp2: Get Play-by-Play Data (V2)

Description Usage Arguments Value Examples

View source: R/get_data.R

Description

Get Play-by-Play Data (V2)

Usage

1
get_pbp2(GameID = "", StartPeriod = "", EndPeriod = "", ...)

Arguments

GameID

Game identifier.

StartPeriod

TBD.

EndPeriod

TBD.

...

Arguments to make_url.

Value

A data frame containing detailed play-by-play information for a single game.

Examples

1
2
3
4
# get play-by-play information for game no. 0021300028.
pbp_info <- get_pbp2(GameID = "0021300028",
                     StartPeriod = "1",
                     EndPeriod = "10")

imadmali/NBAapi documentation built on May 6, 2019, 2:31 p.m.