get_boxscore: Download Boxscore data for NBA game

Description Usage Arguments Value Author(s) Examples

View source: R/get_boxscore.R

Description

Download and process NBA.com boxscore data for given game and season.

Usage

1
get_boxscore(game_id, boxscore_type, verbose = TRUE)

Arguments

game_id

Game's ID in NBA.com DB

boxscore_type

Type of boxscore, one from the list: c("advanced","misc","playertrack","traditional")

verbose

Defalt TRUE - prints additional information

Value

Dataset containing data from one of the boxscore pages from NBA.com. Functions enable downloading Traditional, Advanced, Miscallenous or Player Tracking data.

Author(s)

Patrick Chodowski, Chodowski.Patrick@gmail.com

Examples

1
2
type <- c("advanced","misc","playertrack","traditional")[1]
get_boxscore(21400001,type)

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