Skip to main content

kp_teamstats

Description#

Get Team Stats

Usage#

kp_teamstats(min_year, max_year, defense = FALSE)

Arguments#

ArgumentDescription
min_yearFirst year of data to pull
max_yearLast year of data to pull
defenseChoose whether to pull offense(default) with FALSE or defense with TRUE

Examples#

kp_teamstats(min_year = 2019, max_year = 2020, defense = FALSE)