View source: R/torvik_ncaa_results.R
| torvik_ncaa_results | R Documentation |
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.
torvik_ncaa_results(min_year, max_year, type = "team")
min_year |
(integer required): Minimum tournament year (4-digit, e.g. |
max_year |
(integer required): Maximum tournament year (4-digit, e.g. |
type |
(character optional): Aggregation level. One of |
A hoopR_data tibble with one row per team/coach/conference/seed:
| col_name | types | description |
| rk | integer | Rank within the queried split. |
| team | character | Team / coach / conference / seed (per type). |
| pake | numeric | Performance above KenPom expectation (wins). |
| pase | numeric | Performance above seed expectation (wins). |
| wins | integer | Total tournament wins. |
| loss | integer | Total tournament losses. |
| w_percent | numeric | Tournament win percentage. |
| r64 | integer | Round of 64 appearances. |
| r32 | integer | Round of 32 appearances. |
| s16 | integer | Sweet 16 appearances. |
| e8 | integer | Elite 8 appearances. |
| f4 | integer | Final 4 appearances. |
| f2 | integer | Championship-game appearances. |
| champ | integer | National championships. |
| top2 | integer | Top-2 (runner-up or champion) finishes. |
| f4_percent | numeric | Final 4 rate. |
| champ_percent | numeric | Championship rate. |
| min_year | integer | Minimum year queried (echoes min_year). |
| max_year | integer | Maximum year queried (echoes max_year). |
| type | character | Aggregation level queried (echoes type). |
Other Torvik Functions:
torvik_game_schedule(),
torvik_game_stats(),
torvik_player_stats(),
torvik_ratings(),
torvik_team_factors()
try(torvik_ncaa_results(min_year = 2010, max_year = 2024, type = "conf"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.