Description Usage Arguments Value Source Examples
View source: R/cfb_metrics_wp.R
Get win probability chart data from API
1 | cfb_metrics_wp(game_id)
|
game_id |
(Integer required): Game ID filter for querying a single game |
A data frame with 16 variables:
play_id
character.
play_text
character.
home_id
integer.
home
character.
away_id
integer.
away
character.
spread
character.
home_ball
logical.
home_score
integer.
away_score
integer.
down
integer.
distance
integer.
home_win_prob
character.
away_win_prob
double.
play_number
integer.
yard_line
integer.
https://api.collegefootballdata.com/metrics/wp
1 | cfb_metrics_wp(game_id = 401012356)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.