View source: R/kp_ratings_tables.R
| kp_teamstats | R Documentation |
Get Team Stats
kp_teamstats(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 team stats
| col_name | types |
| team | character |
| conf | character |
| off_fg_3_pct | numeric |
| off_fg_3_pct_rk | numeric |
| off_fg_2_pct | numeric |
| off_fg_2_pct_rk | numeric |
| off_ft_pct | numeric |
| off_ft_pct_rk | numeric |
| off_blk_pct | numeric |
| off_blk_pct_rk | numeric |
| off_stl_pct | numeric |
| off_stl_pct_rk | numeric |
| off_non_stl_pct | numeric |
| off_non_stl_pct_rk | numeric |
| off_a_pct | numeric |
| off_a_pct_rk | numeric |
| off_fg_3a_pct | numeric |
| off_fg_3a_pct_rk | numeric |
| adj_o | numeric |
| adj_o_rk | numeric |
| ncaa_seed | numeric |
| year | numeric |
| def_fg_3_pct | numeric |
| def_fg_3_pct_rk | numeric |
| def_fg_2_pct | numeric |
| def_fg_2_pct_rk | numeric |
| def_ft_pct | numeric |
| def_ft_pct_rk | numeric |
| def_blk_pct | numeric |
| def_blk_pct_rk | numeric |
| def_stl_pct | numeric |
| def_stl_pct_rk | numeric |
| def_non_stl_pct | numeric |
| def_non_stl_pct_rk | numeric |
| def_a_pct | numeric |
| def_a_pct_rk | numeric |
| def_fg_3a_pct | numeric |
| def_fg_3a_pct_rk | numeric |
| adj_d | numeric |
| adj_d_rk | numeric |
Other KenPom Ratings Functions:
kp_efficiency(),
kp_foul_trouble(),
kp_fourfactors(),
kp_height(),
kp_kpoy(),
kp_playerstats(),
kp_pointdist(),
kp_pomeroy_ratings()
try(kp_teamstats(min_year = 2019, max_year =2021))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.