Get the full game-by-game schedule and results for a season from barttorvik.com.
Pulls Bart Torvik's "super schedule" (the {year}_super_sked.json file): one
row per game with the pre-game prediction, both teams' adjusted efficiencies
and tempo, the final result, and post-game game-quality metrics. No API key is
required. Data is available from 2008 to present.
Usage
torvik_game_schedule(year = most_recent_mbb_season())Arguments
- year
(integer required): Season, in 4-digit ending-year format (e.g.
2024). Defaults tomost_recent_mbb_season().
Value
A hoopR_data tibble with one row per game.
Its columns are listed in return_columns
(subset(return_columns, fn == "torvik_game_schedule")) and in the searchable
return columns article.
See also
Other Torvik Functions:
torvik_game_stats(),
torvik_ncaa_results(),
torvik_player_stats(),
torvik_ratings(),
torvik_team_factors()
Examples
# \donttest{
# Interactive only: a whole season's schedule, 3-5 s of parsing.
try(torvik_game_schedule(year = 2024))
#> ✖ 2026-11-13 21:18:03.876212: Invalid arguments or no schedule available for 2024!
#> ✖ Args: year = 2024
#> ✖ Error: lexical error: invalid char in json text. <!DOCTYPE HTML PUBLIC "-//W3C// (right here) ------^
#> data frame with 0 columns and 0 rows
# }
