Skip to contents

Get NCAA Baseball Rosters

Usage

ncaa_roster(team_id = NULL, year, ...)

Arguments

team_id

NCAA id for a school

year

The year of interest

...

Additional arguments passed to an underlying function like httr.

Value

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

col_nametypesdescription
player_namecharacterPlayer name.
classcharacterAcademic class/year (Fr, So, Jr, Sr).
player_idcharacterstats.ncaa.org player identifier.
seasonnumericSeason (4-digit year).
numbercharacterJersey number.
positioncharacterPrimary fielding position.
player_urlcharacterFull stats.ncaa.org url for the player page.
team_namecharacterTeam name.
conferencecharacterConference name.
team_idnumericTeam NCAA id.
divisionnumericNCAA division (1, 2, 3).
conference_idnumericConference identifier.

Details

Live usage (reads stats.ncaa.org, which is behind Akamai bot protection and needs the optional chromote + Google Chrome browser fallback, so it is shown here rather than as a runnable example):

ncaa_roster(team_id = 104, year = 2023)