amankhoza / betfair-machine-learning

A collection of python scripts to collect, clean and visualise odds for football matches from Betfair, as well as perform machine learning on the collected odds.
29 stars 13 forks source link

Could you please share `rankings.csv` file #13

Open AdamMomen opened 3 years ago

AdamMomen commented 3 years ago

@amankhoza I am trying to run your code I got the session running put I needed some test data. I have a couple of questions:

  1. Do you have a recording data feature?
amankhoza commented 3 years ago

Hi @AdamMomen rankings.csv is just the current premier league teams scraped from http://www.bbc.co.uk/sport/football/premier-league/table , the scraper seems to have broke as the BBC probably changed their website slighly, but you can easily manually create your own rankings.csv it starts like this:

Ranking,Team
1,Liverpool
2,Man City
...

just ensure the names are the same as the betfair names, I had some simple logic in rankingsScraper.py to do this.