team_abbrev: Convert team ID to abbreviation

View source: R/abbrev.R

team_abbrevR Documentation

Convert team ID to abbreviation

Description

Convert team ID to abbreviation

Usage

team_abbrev(teamId, teams = league_teams(leagueId = ffl_id()))

Arguments

teamId

A integer vector of team numbers to convert.

teams

A table of teams, like that from league_teams().

Value

A factor vector of team abbreviations.

Examples

team_abbrev(teamId = 2, teams = league_teams(leagueId = "42654852"))

fflr documentation built on Sept. 14, 2023, 9:10 a.m.