getIDMappings: Get mappings from player name and team name to PlayerID and...

Description Usage Value Examples

Description

For many endpoints, PlayerID or TeamID are required parameters. This function retrieves a mapping from player name to PlayerID for all players in NBA history and team name to TeamID for all current teams. These ID's are used as parameters to pass in to getGenericData for several endpoints. If you only need to search for a few specific players or teams, use searchIDMappings instead as that function is just a convenient way to search this mapping.

Usage

1

Value

A list of length two containing data frames with the mappings.

Examples

1
2
m <- getIDMappings()
str(m)

llefebure/nba-stats documentation built on May 21, 2019, 7:34 a.m.