Learn R Programming

wehoop (version 3.0.0)

wnba_playerindex: Get WNBA Stats API Player Index

Description

Get WNBA Stats API Player Index

Get WNBA Stats API Player Index

Usage

wnba_playerindex(
  college = "",
  country = "",
  draft_pick = "",
  draft_round = "",
  draft_year = "",
  height = "",
  historical = 1,
  league_id = "10",
  season = most_recent_wnba_season() - 1,
  season_type = "Regular Season",
  team_id = "0",
  weight = "",
  ...
)

Value

Return a named list of data frames: PlayerIndex

PlayerIndex

col_nametypesdescription
PERSON_IDcharacterUnique player identifier (V3 endpoints).
PLAYER_LAST_NAMEcharacter
PLAYER_FIRST_NAMEcharacter
PLAYER_SLUGcharacterURL-safe player identifier.
TEAM_IDcharacterUnique team identifier.
TEAM_SLUGcharacterURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
IS_DEFUNCTcharacter
TEAM_CITYcharacterTeam city or region (e.g. 'Las Vegas').
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
JERSEY_NUMBERcharacter
POSITIONcharacterListed roster position (G, F, C, etc.).
HEIGHTcharacterPlayer height (string e.g. '6-2' or inches).
WEIGHTcharacterPlayer weight in pounds.
COLLEGEcharacterCollege or school attended.
COUNTRYcharacterCountry (full name or code).
DRAFT_YEARcharacterDraft year (4-digit).
DRAFT_ROUNDcharacterRound of the draft selection.
DRAFT_NUMBERcharacter
ROSTER_STATUScharacter
PTScharacterPoints scored.
REBcharacterTotal rebounds.
ASTcharacterAssists.
STATS_TIMEFRAMEcharacter
FROM_YEARcharacter
TO_YEARcharacter

Arguments

college

Player College

country

Player Country

draft_pick

Draft Pick

draft_round

Draft Round

draft_year

Draft Year

height

Player Height

historical

Whether to include only current players (0) or all historical (1).

league_id

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

season

Season - format 2020-21

season_type

Season Type - Regular Season, Playoffs, All-Star

team_id

Team ID. Default: 0 (all teams).

weight

Player weight

...

Additional arguments passed to an underlying function like httr.

Author

Saiem Gilani

Details

  wnba_playerindex()

See Also

Other WNBA Player Functions: wnba_infographicfanduelplayer(), wnba_leaguedashplayerbiostats(), wnba_leaguedashplayerclutch(), wnba_leaguedashplayershotlocations(), wnba_leaguedashplayerstats(), wnba_leagueplayerondetails(), wnba_leagueseasonmatchups(), wnba_playerawards(), wnba_playercareerbycollege(), wnba_playercareerbycollegerollup(), wnba_playercareerstats(), wnba_playercompare(), wnba_playerdashboardbyclutch(), wnba_playerestimatedmetrics(), wnba_playerfantasyprofile(), wnba_playerfantasyprofilebargraph(), wnba_playergamelog(), wnba_playergamelogs(), wnba_playergamestreakfinder(), wnba_playerheadshot(), wnba_playernextngames(), wnba_playerprofilev2(), wnba_playervsplayer()