Closed scottfrechette closed 3 years ago
Hmm. I'm not averse to bringing in projected points total, in principle, and think it would be a neat addition!
I have a few worries about assuming it's always the second part of the stats listcol - if we go this route I'd probably try to access the stats listcol in a purrr::map so that we can use possibly()
-like handling on it (and fail that one part gracefully if it turns out not to be the right way and/or gets deprecated suddenly)
@scottfrechette - it should automerge here pretty shortly into the dev branch, please give that a whirl and let me know how it works! (and thank you again for the suggestion!)
Just tried it out and it works and matches my own historical data so I’d say it’s good to go.
Appreciate the quick turnaround.
I'm not sure about the other leagues, but would you be open to adding projected points to
ff_starters()
for ESPN leagues?Here's an example by simply adding a few lines of code to hoist and parse "stats" within "player":