jimmyday12 / fitzRoy

A set of functions to easily access AFL data
https://jimmyday12.github.io/fitzRoy
Other
125 stars 27 forks source link

fetch_betting_odds_footywire missing data #157

Open SamCurtis111 opened 3 years ago

SamCurtis111 commented 3 years ago

fetch_betting_odds_footywire won't return any 2021 data for me. I can't seem to find this data on their site either, is it not listed anymore and therefore rendered useless in the library?

betting.odds <- fetch_betting_odds_footywire(start_season = 2020)

returns: Warning message: In (function (page_html, season) : Skipping 2021, because it doesn't have any data.

liam-crow commented 2 years ago

Encountered the same issue for 2021 data, seems the page itself has been removed: https://www.footywire.com/afl/footy/afl_betting?year=2020

Going to 2021 returns a blank page, but 2010 to 2020 still work

jimmyday12 commented 2 years ago

Will label this as a data-bug since it is a footywire issue. Not sure if we will get data for 2022 but if not, I may deprecate the function or at least have a better warning message