Skip to contents

Get NBA Stats API Teams

Get NBA Stats API Teams

Usage

nba_teams(...)

Arguments

...

Additional arguments passed to an underlying function like httr.

Value

Return a data frame with the following columns:

col_nametypesdescription
league_idcharacterLeague identifier ('10' = WNBA).
season_idcharacterUnique season identifier.
team_idcharacterUnique team identifier.
team_citycharacterTeam city or region (e.g. 'Las Vegas').
team_namecharacterFull team display name (e.g. 'Las Vegas Aces').
team_slugcharacterURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
conferencecharacterConference.
divisioncharacterTeam division.
team_abbreviationcharacterShort team abbreviation (e.g. 'LAS').
team_name_fullcharacterTeam name full.
seasoncharacterSeason identifier (4-digit year or 'YYYY-YY' string).
espn_team_idintegerUnique identifier for espn team.
abbreviationcharacterShort abbreviation.
display_namecharacterDisplay name.
mascotcharacterTeam mascot.
nicknamecharacterTeam or athlete nickname.
teamcharacterTeam-side label or team identifier.
colorcharacterPrimary color (hex without leading '#').
alternate_colorcharacterAlternate color (hex without leading '#').
logocharacterTeam or league logo URL.
logo_darkcharacterLogo dark.
logos_href_3characterLogos href 3.
logos_href_4characterLogos href 4.
nba_logo_svgcharacterNba logo svg.

Details

Author

Saiem Gilani