Skip to contents

Get KenPom's player stats from the team page

Usage

kp_team_players(team, year = 2021)

Arguments

team

Team filter to select.

year

Year of data to pull

Value

Returns a tibble of team player data

col_nametypes
rolecharacter
numbernumeric
playercharacter
htcharacter
wtnumeric
yrcharacter
gnumeric
snumeric
min_pctnumeric
o_rtgnumeric
poss_pctnumeric
shots_pctnumeric
e_fg_pctnumeric
ts_pctnumeric
or_pctnumeric
dr_pctnumeric
a_ratenumeric
to_ratenumeric
blk_pctnumeric
stl_pctnumeric
f_cper40numeric
f_dper40numeric
ft_ratenumeric
ftmnumeric
ftanumeric
ft_pctnumeric
fgm_2numeric
fga_2numeric
fg_2_pctnumeric
fgm_3numeric
fga_3numeric
fg_3_pctnumeric
min_pct_rknumeric
o_rtg_rknumeric
poss_pct_rknumeric
shots_pct_rknumeric
e_fg_pct_rknumeric
ts_pct_rknumeric
or_pct_rknumeric
dr_pct_rknumeric
a_rate_rknumeric
to_rate_rknumeric
blk_pct_rknumeric
stl_pct_rknumeric
f_cper40_rknumeric
f_dper40_rknumeric
ft_rate_rknumeric
ft_pct_rknumeric
fg_2_pct_rknumeric
fg_3_pct_rknumeric
national_rankcharacter
teamcharacter
yearnumeric
player_idnumeric

Examples

  # \donttest{
    try(kp_team_players(team = 'Florida St.', year = 2024))
#> # A tibble: 12 × 54
#>    role       number player ht       wt yr        g     s min_pct o_rtg poss_pct
#>    <chr>       <dbl> <chr>  <chr> <dbl> <chr> <dbl> <dbl>   <dbl> <dbl>    <dbl>
#>  1 Go-to Guys     21 Cam'R… 6-7     220 Sr        5    NA    38    88.6     28.8
#>  2 Major Con…      2 Jamir… 6-7     210 Jr        5     5    65.4 114.      26.2
#>  3 Significa…      3 Cam C… 6-10    225 So        5     5    51.2 114.      23.7
#>  4 Significa…     10 Taylo… 6-10    195 Fr        4    NA    15.1  78.8     20.9
#>  5 Role Play…     22 Darin… 6-5     195 Sr        5     5    74.2 111.      17.4
#>  6 Role Play…      1 Jalen… 6-7     205 Jr        5     5    64.9 106.      17.6
#>  7 Role Play…      5 De'An… 6-9     210 So        5    NA    38.5 108.      19.1
#>  8 Role Play…     12 Tom H… 6-7     200 So        4    NA    16.6 136.      17  
#>  9 Limited R…     11 Baba … 6-11    204 So        5     5    55.1  98       15.7
#> 10 Limited R…      0 Chand… 6-5     220 So        5    NA    38.5 122.      15  
#> 11 Limited R…     20 Josh … 6-5     200 Sr        5    NA    33.2 116.      15.8
#> 12 Benchwarm…     51 Sola … 6-6     205 Fr        4    NA     2.9  80.2     24.7
#> # ℹ 43 more variables: shots_pct <dbl>, e_fg_pct <dbl>, ts_pct <dbl>,
#> #   or_pct <dbl>, dr_pct <dbl>, a_rate <dbl>, to_rate <dbl>, blk_pct <dbl>,
#> #   stl_pct <dbl>, f_cper40 <dbl>, f_dper40 <dbl>, ft_rate <dbl>, ftm <dbl>,
#> #   fta <dbl>, ft_pct <dbl>, fgm_2 <dbl>, fga_2 <dbl>, fg_2_pct <dbl>,
#> #   fgm_3 <dbl>, fga_3 <dbl>, fg_3_pct <dbl>, min_pct_rk <dbl>, o_rtg_rk <dbl>,
#> #   poss_pct_rk <dbl>, shots_pct_rk <dbl>, e_fg_pct_rk <dbl>, ts_pct_rk <dbl>,
#> #   or_pct_rk <dbl>, dr_pct_rk <dbl>, a_rate_rk <dbl>, to_rate_rk <dbl>, …
  # }