get_pbp: Get Play-by-Play Data

Description Usage Arguments Value Examples

View source: R/get_data.R

Description

Get Play-by-Play Data

Usage

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

Arguments

GameID

Game identifier.

StartPeriod

TBD.

EndPeriod

TBD.

...

Arguments to make_url.

Value

A data frame containing basic 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_pbp(GameID = "0021300028",
                    StartPeriod = "1",
                    EndPeriod = "10")

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