Skip to contents

Get NCAA Baseball Rosters

Usage

ncaa_baseball_roster(teamid = NA, team_year)

Arguments

teamid

NCAA id for a school

team_year

The year of interest

Value

A data frame containing roster information, including IDs and urls for each player (if available)

col_nametypes
namecharacter
classcharacter
player_idcharacter
seasonnumeric
numbercharacter
positioncharacter
player_urlcharacter
schoolcharacter
conferencecharacter
school_idnumeric
divisionnumeric
conference_idnumeric

Examples

# \donttest{
  try(ncaa_baseball_roster(teamid = 104, team_year = 2021))
#> ── NCAA Baseball Roster data from stats.ncaa.org ──── baseballr 1.2.0 ──
#>  Data updated: 2022-04-30 07:16:54 UTC
#> # A tibble: 49 × 12
#>    name         class player_id season number position player_url school
#>    <chr>        <chr> <chr>      <dbl> <chr>  <chr>    <chr>      <chr> 
#>  1 Adamson, Ch… Fr    2337999     2021 39     P        https://s… UC Sa…
#>  2 Arbolida, C… So    2488302     2021 38     UT       https://s… UC Sa…
#>  3 Arellano, J… So    2140271     2021 36     P        https://s… UC Sa…
#>  4 Barber, Jef… Fr    2488298     2021 35     UT       https://s… UC Sa…
#>  5 Beer, Trevor So    2140229     2021 49     P        https://s… UC Sa…
#>  6 Benbrook, C… Fr    2338005     2021 51     P        https://s… UC Sa…
#>  7 Bloom, Gian… Jr    2343531     2021 27     INF      https://s… UC Sa…
#>  8 Boone, Rodn… So    2140227     2021 10     P        https://s… UC Sa…
#>  9 Callahan, J… Fr    2337991     2021 23     P        https://s… UC Sa…
#> 10 Castanon, M… Jr    1996103     2021 3      INF      https://s… UC Sa…
#> # … with 39 more rows, and 4 more variables: conference <chr>,
#> #   school_id <dbl>, division <dbl>, conference_id <dbl>
# }