bart_player_splits: Get Player Season Splits

View source: R/bart_player_splits.R

bart_player_splitsR Documentation

Get Player Season Splits

Description

Returns season-long player statistics on a variety of splits.

Usage

bart_player_splits(
  year = current_season(),
  split = NULL,
  team = NULL,
  conf = NULL,
  exp = NULL,
  player_id = NULL,
  type = NULL
)

Arguments

year

Year to filter.

split

Split to filter (see details).

team

Team to filter.

conf

Conference to filter.

exp

Experience to filter.

player_id

Unique player ID to filter.

type

Data type to return (see details).

Details

Data is split on three statistical types, explained below:

box

Returns basic box score stats; sorts by ppg.

shooting

Returns play-by-play shooting splits; sorts by ppg.

advanced

Returns advanced metrics and possession-adjusted box score statistics; sorts by recruiting rank.

Value

Returns a tibble with the number of columns dependent on the value supplied to the 'stat' argument.

Examples

try(bart_player_splits(year=2022, conf='ACC'))


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