wnba_playercompare {wehoop}R Documentation

Get WNBA Stats API Player Compare

Description

Get WNBA Stats API Player Compare

Get WNBA Stats API Player Compare

Usage

wnba_playercompare(
  conference = "",
  date_from = "",
  date_to = "",
  game_segment = "",
  last_n_games = 0,
  league_id = "10",
  location = "",
  measure_type = "Base",
  month = 0,
  opponent_team_id = 0,
  outcome = "",
  pace_adjust = "N",
  per_mode = "Totals",
  period = 0,
  player_id_list = "100720,202250,204319,1627668,1628931",
  plus_minus = "N",
  rank = "N",
  season = most_recent_wnba_season(),
  season_segment = "",
  season_type = "Regular Season",
  shot_clock_range = "",
  vs_conference = "",
  vs_division = "",
  vs_player_id_list = "202252,203399,1631022,1628878,204333",
  ...
)

Arguments

conference

conference

date_from

date_from

date_to

date_to

game_segment

game_segment

last_n_games

last_n_games

league_id

League - default: '00'. Other options include '10': WWNBA, '20': G-League

location

location

measure_type

measure_type

month

month

opponent_team_id

opponent_team_id

outcome

outcome

pace_adjust

pace_adjust

per_mode

per_mode

period

period

player_id_list

Player ID

plus_minus

plus_minus

rank

rank

season

Season - format 2020-21

season_segment

season_segment

season_type

Season Type - Regular Season, Playoffs, All-Star

shot_clock_range

shot_clock_range

vs_conference

vs_conference

vs_division

vs_division

vs_player_id_list

vs_player_id_list

...

Additional arguments passed to an underlying function like httr.

Details

 wnba_playercompare(player_id_list = '100720,202250,204319,1627668,1628931', vs_player_id_list = '202252,203399,1631022,1628878,204333')

Value

Return a named list of data frames: Individual, OverallCompare

OverallCompare

col_name types
GROUP_SET character
DESCRIPTION character
MIN character
FGM character
FGA character
FG_PCT character
FG3M character
FG3A character
FG3_PCT character
FTM character
FTA character
FT_PCT character
OREB character
DREB character
REB character
AST character
TOV character
STL character
BLK character
BLKA character
PF character
PFD character
PTS character
PLUS_MINUS character

Individual

col_name types
GROUP_SET character
DESCRIPTION character
MIN character
FGM character
FGA character
FG_PCT character
FG3M character
FG3A character
FG3_PCT character
FTM character
FTA character
FT_PCT character
OREB character
DREB character
REB character
AST character
TOV character
STL character
BLK character
BLKA character
PF character
PFD character
PTS character
PLUS_MINUS character

Author(s)

Saiem Gilani

See Also

Other WNBA Player Functions: wnba_infographicfanduelplayer(), wnba_leaguedashplayerbiostats(), wnba_leaguedashplayerclutch(), wnba_leaguedashplayershotlocations(), wnba_leaguedashplayerstats(), wnba_leagueplayerondetails(), wnba_leagueseasonmatchups(), wnba_playerawards(), wnba_playercareerbycollegerollup(), wnba_playercareerbycollege(), wnba_playercareerstats(), wnba_playerdashboardbyclutch(), wnba_playerdashboardbygamesplits(), wnba_playerdashboardbygeneralsplits(), wnba_playerdashboardbylastngames(), wnba_playerdashboardbyopponent(), wnba_playerdashboardbyshootingsplits(), wnba_playerdashboardbyteamperformance(), wnba_playerdashboardbyyearoveryear(), wnba_playerestimatedmetrics(), wnba_playerfantasyprofilebargraph(), wnba_playerfantasyprofile(), wnba_playergamelogs(), wnba_playergamelog(), wnba_playergamestreakfinder(), wnba_playerheadshot(), wnba_playerindex(), wnba_playernextngames(), wnba_playerprofilev2(), wnba_playervsplayer()


[Package wehoop version 2.1.0 Index]