Description Usage Arguments Examples
Download logos to the specified folder, which is a subfolder of the working directory. If the folder doesn't exist then create it.
1 2 | DL_Soccerway_download_logo(DL.input, subfolder = "~/Desktop/Logos",
overwrite = FALSE)
|
DL.input |
a tibble that should contain columns FileName (string, with extension) and LogoURL. |
subfolder |
the name of the subfolder where to store thelogos, e.g. "~/Desktop/Logos" |
overwrite |
if TRUE then download all logos and overwrite existing logos in the folder with the same name |
1 2 3 | setwd("/Users/tristanbains/Desktop/R/rFootballAnalysis");lg="RUS2";
lgs=substr(lg,1,3);df = DL_Soccerway_data(lg); df.logos = DL_Soccerway_season_logo(lgs,df$URL.logo);
DL.input = df.logos %>% mutate(FileName=paste0(CountryCode," - ",Team,".png"));DL_Soccerway_download_logo(DL.input)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.