season
and a competition
.collect_f1_teams_id.Rd
Collect teams' id for a season
and a competition
.
collect_f1_teams_id(
user,
passwd,
competition = 24,
season,
root_url = "http://omo.akamai.opta.net/competition.php"
)
User to connect to the root_url
account;
Password of the user
to use.
Competition id. Default set to 24
.
Season of the games to collect. If set, nor match_id
nor matches_id
are read.
The url to collect the f24 file. By default it is set to http://omo.akamai.opta.net/competition.php.
A tibble containing two columns: a team_id
and a label
if (FALSE) {
iniestat::collect_f1_teams_id(user = "MYUSER", passwd = "MYPASSWD", season = 2020)
}