Skip to contents

Get historical NCAA tournament performance from barttorvik.com, by team, coach, conference or seed.

Returns raw and adjusted NCAA tournament results, including PASE (performance above seed expectation) and PAKE (performance above KenPom expectation) plus round-by-round appearance counts. No API key is required. Data runs from 2000 to present.

Usage

torvik_ncaa_results(min_year, max_year, type = "team")

Arguments

min_year

(integer required): Minimum tournament year (4-digit, e.g. 2010).

max_year

(integer required): Maximum tournament year (4-digit, e.g. 2024).

type

(character optional): Aggregation level. One of team (default), coach, conf, or seed.

Value

A hoopR_data tibble with one row per team/coach/conference/seed:

col_nametypesdescription
rkintegerRank within the queried split.
teamcharacterTeam / coach / conference / seed (per type).
pakenumericPerformance above KenPom expectation (wins).
pasenumericPerformance above seed expectation (wins).
winsintegerTotal tournament wins.
lossintegerTotal tournament losses.
w_percentnumericTournament win percentage.
r64integerRound of 64 appearances.
r32integerRound of 32 appearances.
s16integerSweet 16 appearances.
e8integerElite 8 appearances.
f4integerFinal 4 appearances.
f2integerChampionship-game appearances.
champintegerNational championships.
top2integerTop-2 (runner-up or champion) finishes.
f4_percentnumericFinal 4 rate.
champ_percentnumericChampionship rate.
min_yearintegerMinimum year queried (echoes min_year).
max_yearintegerMaximum year queried (echoes max_year).
typecharacterAggregation level queried (echoes type).

Examples

# \donttest{
  try(torvik_ncaa_results(min_year = 2010, max_year = 2024, type = "conf"))
#>  2026-06-13 07:39:16.141313: Invalid arguments or no NCAA tournament results available!
#>  Args: min_year = 2010, max_year = 2024, type = "conf"
#>  Error: `clean_names()` requires that either names or dimnames be non-null.
#> data frame with 0 columns and 0 rows
# }