Learn R Programming

nbastatR (version 0.1.110202031)

get_teams_details: NBA teams details

Description

Gets information about NBA franchises

Usage

get_teams_details(teams = NULL, team_ids = NULL, all_teams = T,
  assign_to_environment = TRUE, return_message = T)

Arguments

teams

vector of team names

team_ids

vector of team ids

all_teams

if TRUE returns all team names

assign_to_environment

if TRUE assigns each table to a data frame in your environment starting with data

return_message

if TRUE returns a message

Value

a `data_frame`

Examples

Run this code
# NOT RUN {
get_teams_details(all_teams = TRUE, assign_to_environment = TRUE)
# }

Run the code above in your browser using DataLab