bart_game_box: Get Team Game Stats

View source: R/bart_game_box.R

bart_game_boxR Documentation

Get Team Game Stats

Description

Returns box score data by team for all games.

Usage

bart_game_box(
  year = current_season(),
  date = NULL,
  team = NULL,
  conf = NULL,
  game_id = NULL
)

Arguments

year

Filters to year (YYYY)

date

Filters to date (YYYY-MM-DD)

team

Filters to team

conf

Filters to conference

game_id

Filters to game

Details

The home team is coded as 'team2'. Neutral site games may contain errors as to whom is the home team.

Value

Returns a tibble of box score statistics

Examples

try(bart_game_box(year=2022))


toRvik documentation built on Nov. 10, 2022, 5:50 p.m.