Learn R Programming

nbastatR (version 0.1.12031)

players_careers: Player career stats

Description

NBA player career statistics for specified players and inputs

Usage

players_careers(players = NULL, player_ids = NULL,
  modes = c("PerGame", "Totals"), assign_to_environment = TRUE,
  add_mode_names = TRUE, return_message = TRUE)

Arguments

players

NULL or vector of NBA players

player_ids

vector of NBA Player IDs

modes

vector of items that can include

  • Totals

  • PerGame

  • Per36

assign_to_environment

if TRUE assign to each table environment with a name starting with data

add_mode_names

if TRUE adds the type of mode to the table data

return_message

if TRUE returns a message

Value

a tibble

See Also

Other player: bref_bios, draft_combines, players_awards, players_tables

Examples

Run this code
# NOT RUN {
players_careers(players = c("Joe Harris", "Myles Turner", "Spencer Dinwiddie"),
modes = c("Totals", "PerGame"))
# }

Run the code above in your browser using DataLab