This function is to get all the games and rosters of the competition selected.
get_games_rosters(competition, type_league, nums, verbose = TRUE,
accents = FALSE, r_user, df0, df_bio0)
Data frame.
String. Options are "ACB", "Euroleague" and "Eurocup".
String. If competition
is ACB, to scrape
ACB league games ("ACB"), Copa del Rey games ("CREY") or Supercopa games ("SCOPA").
Numbers corresponding to the website from which scraping.
Should R report information on progress? Default TRUE.
If competition
is ACB, should we keep the Spanish accents?
The recommended option is to remove them, so default FALSE.
Email to identify the user when doing web scraping. This is a polite way to do web scraping and to certify that the user is working as transparently as possible with a research purpose.
Data frame to save the games data.
Data frame to save the rosters data.
Guillermo Vinue