fflr
fflr copied to clipboard
Get ESPN fantasy football data in R
Only latest scoringPeriodID by season is provided via leagueHistory = TRUE in most cases. Specifically looking for a way to utilize these functions to loop through the API for each...
transaction_counter(leagueHistory=TRUE) results in following error: ``` Error in `levels
The `tidy_scores()` function returns `TRUE` values for `isWinner` column for weeks that haven't been played. ``` r library(fflr) ffl_id(252353) #> Temporarily set `fflr.leagueId` option to 252353 #> [1] "252353" x...
So far, we've just been using the applied total statistics. Aside from `stat_correct()`, the base level statistics are completely ignored. The [`ESPNmythicalsports::get_player_stats()`](https://github.com/dsobo/ESPNmythicalsports/blob/master/R/get_player_stats.R) function uses `tidyr::hoist()` to just pull out the...
Date related data (like from `ffl_date()`) need to be double checked in a non-EST time zone(s).
Might need to simply check system time against the kickoff time in `pro_schedule()`. Related to #9.
When I use the team_roster function for a certain week in leagueHistory I get a weird error that states that one of the vectors within the function returns a length...
Tried to use the espn_s2 cookie value in the ... argument of draft_recap but got 404 error and was unable to get the function to query the data. How does...