Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upget_footywire_betting_odds raises error on empty data set #112
Comments
|
FYI, running the code in cfranklin11's original post still results in an error even though we are now 8 or so rounds into the season. |
Requesting betting odds for a season that doesn't have any yet (e.g. 2020 while we're still in January) raises an error from the internals of
get_footywire_betting_odds. It would be better for the function to return an empty data frame instead.I almost have a fix ready, so PR forthcoming.
The code below will raise the error: