Skip to contents

Returns players and player IDs for a given season

Usage

bart_players(year = current_season())

Arguments

year

Year to filter for; defaults to current season (YYYY)

Value

Returns a tibble with three columns:

player

character.

team

character.

id

double.

year

double.

Examples

bart_players(year=2022)
#> ── Player Database: 2022 ─────────────────────────────────────── toRvik 1.1.0 ──
#>  Data updated: 2022-09-09 13:47:30 EDT
#> # A tibble: 5,012 × 4
#>    player             team                   id  year
#>    <chr>              <chr>               <int> <int>
#>  1 A.J. Caldwell      Chattanooga         51265  2022
#>  2 A.J. Hamrick       Charleston Southern 75741  2022
#>  3 A.J. Hoggard       Michigan St.        73402  2022
#>  4 A.J. Labriola      St. Francis PA      67665  2022
#>  5 A.J. McGinnis      Cincinnati          73621  2022
#>  6 A.J. Oliver II     Old Dominion        50911  2022
#>  7 A.J. Reeves        Providence          66037  2022
#>  8 A.J. Staton-McCray Samford             73163  2022
#>  9 A.J. Walker        Air Force           67787  2022
#> 10 Aanen Moody        Southern Utah       66001  2022
#> # … with 5,002 more rows