chadwick_player_name_lu function

Look up Baseball Player Name by ID

Look up Baseball Player Name by ID

This function allows you to query the Chadwick Bureau's public register of baseball players and the various IDs associated with them in different systems of record.

playername_lookup(id)

Arguments

  • id: An integer or character string representing a player ID in a baseball database, cross-referenced through the Chadwick Bureau's public register of baseball players.

Returns

A data frame of baseball players and the various IDs associated with them in different systems of record.

col_nametypes
name_firstcharacter
name_lastcharacter
name_givencharacter
name_suffixcharacter
name_nickcharacter
birth_yearinteger
mlb_played_firstinteger
key_mlbaminteger
key_retrocharacter
key_bbrefcharacter
key_fangraphsinteger

Examples

try(playername_lookup(4885)) try(playername_lookup("kaaihki01"))