player_profiles: NBA.com player profiles

player_profilesR Documentation

NBA.com player profiles

Description

Returns NBA player profiles for specified players.

Usage

player_profiles(
  players = NULL,
  player_ids = NULL,
  nest_data = F,
  return_message = TRUE
)

Arguments

players

character vector of player names

player_ids

numeric vector of player IDs

nest_data

if TRUE

return_message

if TRUE returns a message

Value

a 'tibble'

Examples

player_profiles(player_ids = c(203500, 1628384),
players = c("Michael Jordan", "Caris LeVert", "Jarrett Allen"),
nest_data = FALSE,
return_message = TRUE)

abresler/nbastatR documentation built on Nov. 9, 2023, 2:33 p.m.