Skip to contents

Get 2-Foul Participation Stats

Usage

kp_foul_trouble(min_year, max_year = most_recent_mbb_season())

Arguments

min_year

First year of data to pull

max_year

Last year of data to pull

Value

Returns a tibble of foul participation stats

col_nametypes
teamcharacter
confcharacter
two_foul_particpation_pctnumeric
two_foul_particpation_pct_rknumeric
adj2fpnumeric
adj2fp_rknumeric
two_foul_total_timecharacter
two_foul_total_time_rkcharacter
two_foul_time_oncharacter
two_foul_time_on_rkcharacter
bench_pctnumeric
bench_pct_rknumeric
ncaa_seednumeric
yearinteger

Examples

# \donttest{
  try(kp_foul_trouble(min_year = 2020, max_year = most_recent_mbb_season()))
#> Error in kp_foul_trouble(min_year = 2020, max_year = most_recent_mbb_season()) : 
#>   object 'kenpom' not found
# }