Learn R Programming

nbastatR (version 0.1.110202031)

get_nba_team_salaries: NBA team salary

Description

Returns information about an NBA teams salary

Usage

get_nba_team_salaries(team_name = "Brooklyn Nets", team_slug = NA,
  assume_player_opt_out = T, assume_team_doesnt_exercise = T,
  spread_data = FALSE, return_message = T)

Arguments

team_name

NBA team name

team_slug

NBA team slug

assume_player_opt_out

if `TRUE` assumes NBA player opts out

assume_team_doesnt_exercise

if `TRUE` assumes teams don't excercise team option

spread_data

if `TRUE` returns wide data

return_message

if `TRUE` returns a messag

Value

a `data_frame`

See Also

Other salaries: get_all_nba_teams_salaries, get_hoops_hype_teams_salary_summary, get_teams_hoopshype_salaries

Examples

Run this code
# NOT RUN {
get_nba_team_salaries(team_name = "Brooklyn Nets")
# }

Run the code above in your browser using DataLab