Learn R Programming

baseballr (version 1.3.0)

ncaa_baseball_roster: Get NCAA Baseball Rosters

Description

Get NCAA Baseball Rosters

Usage

ncaa_baseball_roster(teamid = NA, team_year)

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

Arguments

teamid

NCAA id for a school

team_year

The year of interest

Examples

Run this code
# \donttest{
  try(ncaa_baseball_roster(teamid = 104, team_year = 2021))
# }

Run the code above in your browser using DataLab