ffverse / ffscrapr

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

Add Season Parameters to Flea API and Create 2 additional detailed functions #406

Closed RandalMorris closed 11 months ago

RandalMorris commented 11 months ago

Add an additional function on flea_franchises.R called ff_franchises.flea_conn2 because ff_standings if the season hasn't started then it will give error, This gives that detail but even if the league hasn't started.

Added an additional functions to flea_starters.R ff_starters_detail.flea_conn to expand to include injury data. Also does not filter out players_ids that are NA. This will allow to see lineups were there is no player for example.

RandalMorris commented 11 months ago

I will work on making separate PRs.

I will check the ff standings issue again to see what the root cause issue. I understand what you are saying with that one.

The end point ff rosters pulls from I will look to see if or how injury data is. The boxscore endpoint I know is week to week. The main issue is if there is no injury on either team then it returns a injury column with just NA vs 4 or so columns.