Get the Basketball-Reference player index for a starting letter, with bios, from Basketball-Reference.
Returns every player whose last name begins with letter, with career span,
position, listed height/weight, birth date, college(s) and the player's
Basketball-Reference id slug (the key used by bref_player_game_log() and the
other player-level bref_*() functions). This doubles as a Basketball-Reference
player dictionary. No API key is required. Basketball-Reference rate-limits
aggressive scraping (~20 requests/minute) – space repeated calls with
Sys.sleep().
Value
A hoopR_data tibble with one row per player.
Its columns are listed in return_columns
(subset(return_columns, fn == "bref_player_bios")) and in the searchable
return columns article.
See also
Other Basketball-Reference Functions:
bref_awards(),
bref_draft(),
bref_injuries(),
bref_player_game_log(),
bref_players_stats(),
bref_standings(),
bref_team_roster(),
bref_teams_stats()
Examples
if (FALSE) { # interactive() && !nzchar(Sys.getenv("CI"))
# \donttest{
try(bref_player_bios(letter = "a"))
# }
}
