Learn R Programming

wehoop (version 3.0.0)

fox_wnba_pbp: Get Fox Sports basketball play-by-play

Description

Get Fox Sports (Bifrost) WNBA / women's college basketball (WBB) play-by-play. fox_wnba_pbp() hits the wnba slug; fox_wbb_pbp() hits the wcbk slug.

Get Fox Sports (Bifrost) WNBA / women's college basketball (WBB) boxscore. fox_wnba_boxscore() hits the wnba slug; fox_wbb_boxscore() hits the wcbk slug.

Get Fox Sports (Bifrost) WNBA / women's college basketball (WBB) game odds. fox_wnba_odds() hits the wnba slug; fox_wbb_odds() hits the wcbk slug.

Usage

fox_wnba_pbp(game_id)

fox_wbb_pbp(game_id)

fox_wnba_boxscore(game_id)

fox_wbb_boxscore(game_id)

fox_wnba_odds(game_id)

fox_wbb_odds(game_id)

Value

A wehoop_data tibble, one row per play: game_id, period, left_team, right_team, play_id, clock, team, left_score_change, right_score_change, play_text.

A wehoop_data tibble (long), one row per (player, stat): game_id, team, stat_group, player, athlete_id, stat, value.

A wehoop_data tibble, one row per team: game_id, team, plus the six-pack odds columns (spread / to-win / total). Empty when no market.

Arguments

game_id

Fox Bifrost event id.

See Also

Other Fox Sports Functions: fox_basketball_league_leaders, fox_wbb_teams_all(), fox_wnba_team_roster()

Examples

Run this code
# \donttest{
  try(fox_wnba_pbp("2215"))
# }
# \donttest{
  try(fox_wbb_pbp("388986"))
# }
# \donttest{
  try(fox_wnba_boxscore("2215"))
# }
# \donttest{
  try(fox_wbb_boxscore("388986"))
# }
# \donttest{
  try(fox_wnba_odds("2215"))
# }
# \donttest{
  try(fox_wbb_odds("388986"))
# }

Run the code above in your browser using DataLab