View source: R/kp_ratings_tables.R
| kp_playerstats | R Documentation | 
Get Player Stats Leaders by Metric
kp_playerstats(
  metric = "eFG",
  conf = NULL,
  conf_only = FALSE,
  year = most_recent_mbb_season()
)
| metric | Used to get leaders for different metrics. Available values are:  | 
| conf | Used to limit to players in a specific conference. Allowed values are: 'A10', 'ACC', 'AE', 'AMER',  | 
| conf_only | Used to define whether stats should reflect conference games only. | 
| year | Year of data to pull (earliest year of data available: 2004) | 
Returns a tibble of player stats
| col_name | types | 
| rk | character | 
| player | character | 
| team | character | 
| e_fg | character | 
| hgt | character | 
| wgt | character | 
| yr | character | 
| year | numeric | 
Other KenPom Ratings Functions: 
kp_efficiency(),
kp_foul_trouble(),
kp_fourfactors(),
kp_height(),
kp_kpoy(),
kp_pointdist(),
kp_pomeroy_ratings(),
kp_teamstats()
  try(kp_playerstats(metric = 'eFG', conf_only = FALSE, year=2021))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.