Learn R Programming

hoopR (version 2.1.0)

kp_teamstats: Get Team Stats

Description

Get Team Stats

Usage

kp_teamstats(min_year, max_year = most_recent_mbb_season())

Value

Returns a tibble of team stats

col_nametypes
teamcharacter
confcharacter
off_fg_3_pctnumeric
off_fg_3_pct_rknumeric
off_fg_2_pctnumeric
off_fg_2_pct_rknumeric
off_ft_pctnumeric
off_ft_pct_rknumeric
off_blk_pctnumeric
off_blk_pct_rknumeric
off_stl_pctnumeric
off_stl_pct_rknumeric
off_non_stl_pctnumeric
off_non_stl_pct_rknumeric
off_a_pctnumeric
off_a_pct_rknumeric
off_fg_3a_pctnumeric
off_fg_3a_pct_rknumeric
adj_onumeric
adj_o_rknumeric
ncaa_seednumeric
yearnumeric
def_fg_3_pctnumeric
def_fg_3_pct_rknumeric
def_fg_2_pctnumeric
def_fg_2_pct_rknumeric
def_ft_pctnumeric
def_ft_pct_rknumeric
def_blk_pctnumeric
def_blk_pct_rknumeric
def_stl_pctnumeric
def_stl_pct_rknumeric
def_non_stl_pctnumeric
def_non_stl_pct_rknumeric
def_a_pctnumeric
def_a_pct_rknumeric
def_fg_3a_pctnumeric
def_fg_3a_pct_rknumeric
adj_dnumeric
adj_d_rknumeric

Arguments

min_year

First year of data to pull

max_year

Last year of data to pull

See Also

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

Examples

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

Run the code above in your browser using DataLab