ffverse / ffscrapr

R API Client for Fantasy Football League Platforms
https://ffscrapr.ffverse.com
Other
82 stars 21 forks source link

Update espnscoring history #341

Closed scottfrechette closed 2 years ago

scottfrechette commented 2 years ago

per #340 here is code that is potentially a little clunky but seems to solve the issue of thresholds and was accurate across my QB/RB/WR players so far this season.

tanho63 commented 2 years ago

@scottfrechette do you happen to know what the stat mapping ID is for defensive18To21PointsAllowed is?

tanho63 commented 2 years ago

@scottfrechette have lightly refactored - can you please retest to make sure it still works for your league?

scottfrechette commented 2 years ago

It seems there isn't a stat mapping ID for defensive18To21PointsAllowed...I'm assuming because we get 0 points it isn't even listed as a stat.

scottfrechette commented 2 years ago

It looks like your refactoring works for all my players, so we should be good to go.