Lookup NCAA baseball school IDs (Division I, II, and III)
Source:R/ncaa_school_id_lu.R
ncaa_school_id_lu.Rd
This function allows the user to look up the team_id
needed
for the ncaa_team_player_stats()
function.
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
# \donttest{
try(ncaa_school_id_lu("Van"))
#> ── NCAA Baseball Teams Information from baseballr data repository ──────
#> ℹ Data updated: 2024-01-09 04:44:08 UTC
#> # A tibble: 16 × 8
#> team_id team_name team_url conference_id conference division year
#> <dbl> <chr> <chr> <dbl> <chr> <dbl> <dbl>
#> 1 736 "Vanderbilt" /team/7… 911 SEC 1 2024
#> 2 736 "Vanderbilt" /team/7… 911 SEC 1 2023
#> 3 736 "Vanderbilt" /team/7… 911 SEC 1 2022
#> 4 736 "Vanderbilt" /team/7… 911 SEC 1 2021
#> 5 736 "Vanderbilt" /team/7… 911 SEC 1 2020
#> 6 736 "Vanderbilt" /team/7… 911 SEC 1 2019
#> 7 736 "Vanderbilt" /team/7… 911 SEC 1 2018
#> 8 736 "Vanderbilt" /team/7… 911 SEC 1 2017
#> 9 736 "Vanderbilt" /team/7… 911 SEC 1 2016
#> 10 736 "Vanderbilt" /team/7… 911 SEC 1 2015
#> 11 736 "Vanderbilt" /team/7… 911 SEC 1 2014
#> 12 736 "Vanderbilt" /team/7… 911 SEC 1 2013
#> 13 736 "Vanderbilt" /team/7… 911 SEC 1 2012
#> 14 736 "Vanderbilt" /team/7… 911 SEC 1 2011
#> 15 736 "Vanderbilt" /team/7… 911 SEC 1 2010
#> 16 30263 "Vanguard " /team/3… 99010 DII Indep… 2 2024
#> # ℹ 1 more variable: season_id <dbl>
# }