Learn R Programming

nbastatR (version 0.1.11003)

get_teams_details: Get 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 retuns 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

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