Learn R Programming

hoopR (version 2.1.0)

kp_game_attrs: Get Game Attributes

Description

Get Game Attributes

Usage

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

Value

Returns a tibble with game attributes

col_nametypes
rkinteger
datacharacter
gamecharacter
locationcharacter
confcharacter
excitementnumeric
yearnumeric

Arguments

year

Year of data to pull

attr

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

See Also

Other KP Misc. Functions: kp_arenas(), kp_fanmatch(), kp_hca(), kp_officials(), kp_referee(), kp_trends()

Examples

Run this code
# \donttest{
  try(kp_game_attrs(year = 2021, attr = "Excitement"))
# }

Run the code above in your browser using DataLab