ncaa_school_id_lu function

Lookup NCAA baseball school IDs (Division I, II, and III)

Lookup NCAA baseball school IDs (Division I, II, and III)

This function allows the user to look up the team_id needed for the ncaa_team_player_stats() function.

ncaa_school_id_lu(team_name = NULL)

Arguments

  • team_name: A string that will be searched for in the names of the teams.

Returns

Returns a tibble with school identification data: team_id, team_name, team_url, conference, conference_id, division, year, and season_id

col_nametypes
team_idnumeric
team_namecharacter
team_urlcharacter
conference_idnumeric
conferencecharacter
divisionnumeric
yearnumeric
season_idnumeric

Examples

try(ncaa_school_id_lu("Van"))