I need someone to set up a script that can be run from Rstudio (mac computer) to automatically scrape data including odds data from [url removed, login to view] or Oddsportal.com.
I need following settings to be modifiable:
- League (for example if [url removed, login to view] is selected in the settings, I want only data for English Premier League to be scraped.
- Halftime results: All matches data should include halftime results.
- Sportsbook (for example if Pinnacle is selected, only Pinnacle odds should be scraped , or Average Odds if Pinnacle odds are unavailable)
- Date (for example if December 1, 2016 is selected, only odds for games played between December 1, 2016 and today are scraped)
-Odds data: all over/under data for both full time and half time.
Output of the scraping should be the excel file or sql table.