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

View source: R/ncaa_school_id_lu.R

ncaa_school_id_luR Documentation

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)

Arguments

team_name

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

Value

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

col_name types
team_id numeric
team_name character
team_url character
conference_id numeric
conference character
division numeric
year numeric
season_id numeric

Examples


  try(ncaa_school_id_lu("Van"))


baseballr documentation built on April 1, 2023, 12:12 a.m.