Learn R Programming

hoopR (version 2.1.0)

kp_efficiency: Get KenPom Efficiency and Tempo Summary

Description

Get KenPom Efficiency and Tempo Summary

Usage

kp_efficiency(min_year, max_year = most_recent_mbb_season())

Value

Returns a tibble of efficiency and tempo ratings

col_nametypes
teamcharacter
confcharacter
adj_tnumeric
adj_t_rknumeric
raw_tnumeric
raw_t_rknumeric
avg_poss_length_offnumeric
avg_poss_length_off_rknumeric
avg_poss_length_defnumeric
avg_poss_length_def_rknumeric
adj_onumeric
adj_o_rknumeric
raw_onumeric
raw_o_rknumeric
adj_dnumeric
adj_d_rknumeric
raw_dnumeric
raw_d_rknumeric
ncaa_seednumeric
yearnumeric

Arguments

min_year

First year of data to pull

max_year

Last year of data to pull

See Also

Other KenPom Ratings Functions: kp_foul_trouble(), kp_fourfactors(), kp_height(), kp_kpoy(), kp_playerstats(), kp_pointdist(), kp_pomeroy_ratings(), kp_teamstats()

Examples

Run this code
# \donttest{
   try(kp_efficiency(min_year = 2020, max_year = 2021))
# }

Run the code above in your browser using DataLab