Skip to contents

Get Team Player Stats

Usage

kp_team_player_stats(team, year = 2021)

Arguments

team

Team filter to select.

year

Year of data to pull

Value

Returns a tibble of team player stats data

Examples

  # \donttest{
   try(kp_team_player_stats(team = 'Florida St.', year = 2021))
#> # A tibble: 24 × 54
#>    role   number player ht       wt yr        g min_pct o_rtg poss_pct shots_pct
#>    <chr>   <dbl> <chr>  <chr> <dbl> <chr> <dbl>   <dbl> <dbl>    <dbl>     <dbl>
#>  1 Major…      4 Scott… 6-9     227 Fr       24    58.7 108.      25.4      22.7
#>  2 Signi…     23 MJ Wa… 6-5     213 Sr       24    69   106.      21.9      21.6
#>  3 Signi…      1 RaiQu… 6-8     260 Jr       25    65   110.      23.6      22.2
#>  4 Signi…      5 Balsa… 7-1     240 So       24    46.4 117.      22        21.7
#>  5 Signi…     11 Natha… 6-5     195 Sr       19    14.4 109.      21.1      26.7
#>  6 Role …      2 Antho… 6-6     215 Jr       21    55.1 122.      17.1      18.6
#>  7 Role …      0 RayQu… 6-4     210 Sr       24    45.5  97.5     16.7      15.2
#>  8 Role …     24 Sarda… 6-6     220 Jr       25    35.5 106.      17.8      22.4
#>  9 Role …     34 Tanor… 7-2     236 Sr       23    14.8  98.2     19        15.3
#> 10 Limit…     10 Malik… 6-9     225 Jr       24    47.8 115.      14.3      15.6
#> # … with 14 more rows, and 43 more variables: 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>, category <chr>, 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>, …
  # }