Closed moshem1234 closed 5 months ago
I'm relatively new to R. I've reviewed the code, but I still don't see where we set who has been drafted
In the link I posted in my last comment, you'll find the block where you can post who's been drafted.
e.g.:
draftedOverall <- c(
'AaronRodgers',
'DavanteAdams'
)
@gatsbysghost, when I paste the names of already drafted players, nothing in actually changes in the output file. Am I missing something?
After you did that, did you then run the Who's been drafted
and OPTIMIZER ALERT WEE WOO
sections again? I've found that this generally works for me.
Yep, just realized my problem was not running the Who's been drafted
section yet. Appreciate your help!
np! R is new for me too, and the IDE model of R Studio is super unusual if you're used to most other langs :)
I think ideally what I would want to bolt onto this excellent model is something that keeps track of who is drafting who during a live draft--it can be tricky to keep track of this manually, especially if you only have ~30 seconds to run the optimizer again, make decisions, and hit the go button.
I wonder if ESPN/NFL has an API that could be exposed for this kind of thing...other than that the best option might just be a horrible python web scrape