Learn R Programming

baseballr (version 1.3.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 school_id needed for the ncaa_scrape() function.

Usage

ncaa_school_id_lu(school_name = NULL)

Value

Returns a tibble with school identification data: school, conference, school_id, year, division, conference_id

col_nametypes
schoolcharacter
conferencecharacter
school_idnumeric
yearnumeric
divisionnumeric
conference_idnumeric

Arguments

school_name

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

Examples

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

Run the code above in your browser using DataLab