Learn R Programming

baseballr (version 1.5.0)

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

Description

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

Usage

ncaa_school_id_lu(team_name = NULL)

Value

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

Arguments

team_name

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

Examples

Run this code
# \donttest{
  try(ncaa_school_id_lu("Van"))
# }

Run the code above in your browser using DataLab