View source: R/kp_ratings_tables.R
| kp_pomeroy_ratings | R Documentation |
Get KenPom Ratings
kp_pomeroy_ratings(min_year, max_year = most_recent_mbb_season())
min_year |
First year of data to pull |
max_year |
Last year of data to pull |
Returns a tibble of ratings
| col_name | types |
| year | integer |
| rk | numeric |
| team | character |
| conf | character |
| w_l | character |
| adj_em | numeric |
| adj_o | numeric |
| adj_o_rk | numeric |
| adj_d | numeric |
| adj_d_rk | numeric |
| adj_t | numeric |
| adj_t_rk | numeric |
| luck | numeric |
| luck_rk | numeric |
| sos_adj_em | numeric |
| sos_adj_em_rk | numeric |
| sos_opp_o | numeric |
| sos_opp_o_rk | numeric |
| sos_opp_d | numeric |
| sos_opp_d_rk | numeric |
| ncsos_adj_em | numeric |
| ncsos_adj_em_rk | numeric |
| ncaa_seed | numeric |
Other KenPom Ratings Functions:
kp_efficiency(),
kp_foul_trouble(),
kp_fourfactors(),
kp_height(),
kp_kpoy(),
kp_playerstats(),
kp_pointdist(),
kp_teamstats()
try(kp_pomeroy_ratings(min_year = 2020, max_year = 2021))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.