Learn R Programming

nbastatR (version 0.1.110202031)

get_players_profiles: NBA.com player profiles

Description

Returns NBA player profilies for specified players.

Usage

get_players_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 `data_frame`

Examples

Run this code
# NOT RUN {
get_players_profiles(player_ids = c(203500, 1628384),
players = c("Michael Jordan", "Caris LeVert", "Jarrett Allen"),
nest_data = FALSE,
return_message = TRUE)
# }

Run the code above in your browser using DataLab