View source: R/kp_box_tables.R
kp_box | R Documentation |
Get KenPom Game Box Score
kp_box(game_id, year)
game_id |
Game id of game to pull |
year |
Year of game to pull |
Returns a tibble of game box scores with names: away_team, home_team, linescore, officials
away_team
col_name | types |
hgt | character |
wgt | numeric |
yr | character |
number | numeric |
player | character |
min | numeric |
o_rtg | numeric |
percent_ps | numeric |
pts | numeric |
fgm_2 | numeric |
fga_2 | numeric |
fgm_3 | numeric |
fga_3 | numeric |
ftm | numeric |
fta | numeric |
or | numeric |
dr | numeric |
a | numeric |
to | numeric |
blk | numeric |
stl | numeric |
pf | numeric |
team | character |
wp_note | character |
game_id | numeric |
year | numeric |
home_team
col_name | types |
hgt | character |
wgt | numeric |
yr | character |
number | numeric |
player | character |
min | numeric |
o_rtg | numeric |
percent_ps | numeric |
pts | numeric |
fgm_2 | numeric |
fga_2 | numeric |
fgm_3 | numeric |
fga_3 | numeric |
ftm | numeric |
fta | numeric |
or | numeric |
dr | numeric |
a | numeric |
to | numeric |
blk | numeric |
stl | numeric |
pf | numeric |
team | character |
wp_note | character |
game_id | numeric |
year | numeric |
linescore
col_name | types |
team | character |
q1 | integer |
q2 | integer |
q3 | integer |
q4 | integer |
t | integer |
officials
col_name | types |
official_id | character |
official_name | character |
game_id | numeric |
year | numeric |
Other KenPom Boxscore Functions:
kp_winprob()
try(kp_box(game_id = 6, year = 2021))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.