powered by
Retrieve the team ID using the abbreviation, or full name of the team
GetTeamId(team_name)
Character, contains either abbreviation or full name
Int, team ID number.
# NOT RUN { SetDbPath(example = TRUE) AddAllTeamsDb() GetTeamId("TOR") GetTeamId("tor") GetTeamId("Toronto Maple Leafs") # }
Run the code above in your browser using DataLab