Returns Barttorvik Player of the Year ratings on a variety of splits.
Usage
bart_poy(
year = current_season(),
conf = "All",
class = NULL,
conf_only = FALSE
)
Arguments
- year
Defaults to current season (YYYY).
- conf
Filters results by conference; defaults to all (see details).
- class
Filters results by class ('fr', 'so', 'jr', 'sr'); defaults to no filter.
- conf_only
Logical. Filters data by conference-only play; defaults to `FALSE`.
Value
Returns a tibble with four columns:
rk
integer.
player
character.
team
character.
score
double.
Details
Accepted conference abbreviations for the `conf` argument are:
‘A10’, ‘ACC’, ‘AE’, ‘ASun’, ‘Amer’, ‘B10’, ‘B12’, ‘BE’, ‘BSky’, ‘BSth’, ‘BW’, ‘CAA’, ‘CUSA’, ‘Horz’, ‘Ivy’, ‘MAAC’, ‘MAC’, ‘MEAC’, ‘MVC’, ‘MWC’, ‘NEC’, ‘OVC’, ‘P12’, ‘Pat’, ‘SB’, ‘SC’, ‘SEC’, ‘SWAC’, ‘Slnd’, ‘Sum’, ‘WAC’, ‘WCC’
Examples
bart_poy(year=2019, class='fr')
#> # A tibble: 50 × 4
#> rk player team score
#> <int> <chr> <chr> <dbl>
#> 1 1 Zion Williamson Duke 2.73
#> 2 2 R.J. Barrett Duke 1.89
#> 3 3 Tyler Herro Kentucky 1.05
#> 4 4 Ignas Brazdeikis Michigan 1.05
#> 5 5 Antoine Davis Detroit 0.955
#> 6 6 Obi Toppin Dayton 0.945
#> 7 7 Jaxson Hayes Texas 0.944
#> 8 8 Nick Muszynski Belmont 0.928
#> 9 9 Lamine Diane Cal St. Northridge 0.925
#> 10 10 Coby White North Carolina 0.914
#> # … with 40 more rows