Skip to contents

Get KenPom's team opponent tracker page

Usage

kp_opptracker(team, year = 2021)

Arguments

team

Team filter to select.

year

Year of data to pull

Value

Returns a tibble of team opponent tracker data

col_nametypes
dateDate
game_datenumeric
day_datecharacter
wlcharacter
teamcharacter
team_scorenumeric
opponentcharacter
opponent_scorenumeric
resultcharacter
adj_oenumeric
adj_oe_rkinteger
off_e_fg_pctnumeric
off_e_fg_pct_rkinteger
off_to_pctnumeric
off_to_pct_rkinteger
off_or_pctnumeric
off_or_pct_rkinteger
off_ft_ratenumeric
off_ft_rate_rkinteger
off_fg_2_pctnumeric
off_fg_2_pct_rkinteger
off_fg_3_pctnumeric
off_fg_3_pct_rkinteger
off_blk_pctnumeric
off_blk_pct_rkinteger
off_fg_3a_pctnumeric
off_fg_3a_pct_rkinteger
off_aplnumeric
off_apl_rkinteger
adj_denumeric
adj_de_rkinteger
def_e_fg_pctnumeric
def_e_fg_pct_rkinteger
def_to_pctnumeric
def_to_pct_rkinteger
def_or_pctnumeric
def_or_pct_rkinteger
def_ft_ratenumeric
def_ft_rate_rkinteger
def_fg_2_pctnumeric
def_fg_2_pct_rkinteger
def_fg_3_pctnumeric
def_fg_3_pct_rkinteger
def_blk_pctnumeric
def_blk_pct_rkinteger
def_fg_3a_pctnumeric
def_fg_3a_pct_rkinteger
def_aplnumeric
def_apl_rkinteger

Examples

# \donttest{
  try(kp_opptracker(team = 'Florida St.', year = 2021))
#> 2023-11-28 22:12:23.1507 - Florida St. - 2021 Team opponent tracker data is missing
#> Error in kp_opptracker(team = "Florida St.", year = 2021) : 
#>   object 'kenpom' not found
# }