Closed sdaprix23 closed 4 years ago
hi @sdaprix23 are you still interested in this? I can add it to my list of things to start working on again
Yes please! PGA is just now getting going again
Hey @sdaprix23 I updated the package to include model_dk_pga()
and model_fd_pga()
. You'll have to re-install the package from Github to see the changes. Let me know if it everything works ok!
This is working great. I did notice one small issue when trying to use the write function:
Error in match.arg(sport) : 'arg' should be one of “nfl”, “mlb”, “nba”, “nhl”, “nascar”
Ah thanks for letting me know. I'll get that fixed tomorrow
On Wed, Jan 22, 2020, 5:09 PM algosync notifications@github.com wrote:
This is working great. I did notice one small issue when trying to use the write function:
Error in match.arg(sport) : 'arg' should be one of “nfl”, “mlb”, “nba”, “nhl”, “nascar”
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/dfs-with-r/coach/issues/15?email_source=notifications&email_token=AB6A3V7PCVTNLIALE6PCIZTQ7C73HA5CNFSM4JIMAFU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJVJESA#issuecomment-577409608, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6A3V2LHI4PRBDYPKN5HO3Q7C73HANCNFSM4JIMAFUQ .
Thanks for updating this for PGA. I've been away from it for a while. There is an error when using the write-lineups as noted by algosync. I just updated to the newest available and can confirm the print error still exists.
write_lineups(lineups, "mylineups.csv", site = "draftkings", sport = "pga") Error in match.arg(sport) : 'arg' should be one of “nfl”, “mlb”, “nba”, “nhl”, “nascar”
Hi @sdaprix23. This should be fixed now in #21. Can you re-install the latest version of coach from github and try again? Let me know if you have any issues.
Works perfect! Thanks again for adding this.
Any plans on adding the PGA functions for DK/FD? Love the NFL optimizer BTW