collect_f24.Rd
Collect all opta available files for a specified season.
collect_f24(
user,
passwd,
output_dir,
season = NULL,
match_id = NULL,
matches_id = NULL,
root_url = "http://omo.akamai.opta.net",
store_f7 = TRUE,
...
)
User to connect to the root_url
account;
Password of the user
to use.
Output directory to write files to.
Season of the games to collect. If set, nor match_id
nor matches_id
are read.
Specific game id. Do not use with season
set.
Specific games ids. Do not use with season
set. If set, will overwrite match_id
.
The URL to collect the f24 file. By default it is set to http://omo.akamai.opta.net.
Store as well corresponding F7 file. Default set to TRUE
.
Additional arguments for the underlying functions.
Save to severals .xml files the collected .xml files.
if (FALSE) {
# if you want all the available game of the season `season`
collect_f24(user="XX12345", passwd="mypasswd", season=2020)
# if you want the game of id `match_id`
collect_f24(user="XX12345", passwd="mypasswd", match_id="7890")
# if you want several games, use `matches_id` as
collect_f24(user="XX12345", passwd="mypasswd", match_id=c("7890", "7891", "7177"))
# if you need to specify the root url you can set
collect_f24(user="XX12345", passwd="mypasswd", season=2020, root_url="https://my_new_root_url")
}