Convert a team's ID to their actual name.

team_converter(teams, team_id)

Arguments

teams

A `data.frame` containing the teams data. See details for more.

team_id

`numeric(1)`. The team's id.

Value

A `character(1)` containing the team's actual name.

Details

`teams` is typically the output of the teams element of `https://fantasy.premierleague.com/api/bootstrap-static/`.