Skip to contents

Get Game Attributes

Usage

kp_game_attrs(year = most_recent_mbb_season(), attr = "Excitement")

Arguments

year

Year of data to pull

attr

Game Attribute, valid values include:
'Excitement', 'Tension','Dominance','MinWp','FanMatch',
'Upsets','Busts','Comeback','Window'

Value

Returns a tibble with game attributes

col_nametypes
rkinteger
datacharacter
gamecharacter
locationcharacter
confcharacter
excitementnumeric
yearnumeric

See also

Examples

# \donttest{
try(kp_game_attrs(year = 2021, attr = "Excitement"))
#> 2026-03-26 14:51:18.518085: Invalid arguments or no game attributes data for Excitement available!
#> Error in kp_game_attrs(year = 2021, attr = "Excitement") : 
#>   object 'kenpom' not found
# }