Closed mwr824 closed 1 year ago
Thanks for lettings us know. It looks like the 2023 ADP data from Fantasy Football Calculator (https://fantasyfootballcalculator.com/adp) is down at the moment. I'll leave this issue open until I update the function to fail better (i.e., throw a warning but continue with the other sources)
For now you can just drop FFC from the sources:
get_adp(sources = c("RTS", "CBS", "Yahoo", "NFL", "MFL", "ESPN"))
# or in your pipe
add_adp(sources = c("RTS", "CBS", "Yahoo", "NFL", "MFL", "ESPN"))
In-general and not your specific question, but we don't recommend scraping past weeks of data because sites may or may not retain past weeks / seasonal projections. It is possible that the source being scrapes for week 0 is actually pulling data for the "rest of season". Different sources do different things but I wanted to let you know.
Should be good now--let me know if you continue to have issues with it (https://github.com/FantasyFootballAnalytics/ffanalytics/commit/d20f5bcabe30afab94587ae3c3297dab18a3c065)
That was quick, thank you!
And thanks for your comment about pulling prior weeks data. I was just getting myself familiar initially, but actually am now interested in pulling the rest of season projections to help with waiver wire selections. Do you happen to know off the top of your head which sources (by setting week = 0) provide those?
Using the add_adp() function results in the following error:
Steps to reproduce error: