kp_playerstats {hoopR} | R Documentation |
Get Player Stats Leaders by Metric
Description
Get Player Stats Leaders by Metric
Usage
kp_playerstats(
metric = "eFG",
conf = NULL,
conf_only = FALSE,
year = most_recent_mbb_season()
)
Arguments
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) |
Value
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 |
See Also
Other KenPom Ratings Functions:
kp_efficiency()
,
kp_foul_trouble()
,
kp_fourfactors()
,
kp_height()
,
kp_kpoy()
,
kp_pointdist()
,
kp_pomeroy_ratings()
,
kp_teamstats()
Examples
try(kp_playerstats(metric = 'eFG', conf_only = FALSE, year=2021))