Returns aggregate team stats back to 2008
Usage
bart_team_box(
year = current_season(),
team = NULL,
conf = NULL,
split = NULL,
stat = "total"
)
Arguments
- year
Filters to year.
- team
Filters to team.
- conf
Filters to conf.
- split
Split to filter (see details).
Details
The `split` argument filters the results by split, explained below:
- result
Wins and losses
- location
Game location
- month
Game month
- type
Game type
Examples
bart_team_box(split='month', team='Duke')
#> ── Team Stats ────────────────────────────────────────────────── toRvik 1.0.2 ──
#> ℹ Data updated: 2022-09-08 16:59:54 EDT
#> # A tibble: 6 × 39
#> team month min pos fgm fga fg_pct tpm tpa fg3_pct ftm fta
#> <chr> <chr> <int> <int> <int> <int> <dbl> <int> <int> <dbl> <int> <int>
#> 1 Duke April 200 69 30 72 0.417 5 22 0.227 12 20
#> 2 Duke December 800 279 127 236 0.538 43 97 0.443 61 78
#> 3 Duke February 1600 519 230 468 0.491 72 179 0.402 103 137
#> 4 Duke January 1825 607 250 535 0.467 65 184 0.353 101 153
#> 5 Duke March 1800 599 270 518 0.521 63 176 0.358 118 149
#> 6 Duke November 1600 574 251 530 0.474 60 184 0.326 103 138
#> # … with 27 more variables: ft_pct <dbl>, oreb <int>, dreb <int>, reb <int>,
#> # ast <int>, stl <int>, blk <int>, to <int>, pf <int>, pts <int>,
#> # second_chance_pts <dbl>, second_chance_fgm <dbl>, second_chance_fga <dbl>,
#> # second_change_fg_pct <dbl>, pts_in_paint <dbl>, pts_in_paint_fgm <dbl>,
#> # pts_in_paint_fga <dbl>, pts_in_paint_fg_pct <dbl>, fast_brk_pts <dbl>,
#> # fast_brk_fgm <dbl>, fast_brk_fga <dbl>, fast_brk_fg_pct <dbl>,
#> # bench_pts <dbl>, pts_tov <dbl>, games <int>, wins <int>, losses <int>