ncaa_school_id_lu {baseballr} | R 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"))
[Package baseballr version 1.6.0 Index]