Skip to content

Releases: k5cents/fflr

fflr 2.3.0

05 May 01:47
Compare
Choose a tag to compare

ESPN has changed the URL of their API. This version uses the new URL for API calls and makes more functions fail elegantly when the API does not return data during the off-season (returning a message and a data frames with zero rows).

Version 3.0.0 will release following the start of the 2024 NFL season.

fflr 2.2.2

03 Feb 02:46
6ae8a39
Compare
Choose a tag to compare

Fixes some bugs introduced by the end of the 2023 fantasy season.

fflr 2.2.0

12 Sep 18:49
142d16e
Compare
Choose a tag to compare

Package has been updated for the 2023 season!

  • Functions now use seasonId = 2023 by default in ffl_api().
  • Update objects with latest data from 2023 season.
  • Fix nfl_players to include actually all of the players.
  • Adjust the free agent information in nfl_teams.
  • Add more function tests.
  • Add bonusWin column to live_scoring().

fflr 2.1.0

13 Sep 03:44
Compare
Choose a tag to compare

Package has been updated for the 2022 season!

  • Functions now use seasonId = 2022 from default in ffl_api().
  • Included data has been updated to 2022: nfl_players, nfl_schedule, nfl_teams

fflr 2.0.0

08 Nov 15:56
Compare
Choose a tag to compare
  • Deprecate tidy_matchups() and replace with tidy_schedule().
  • Leave items nested in recent_activity().
  • Fix bye week scoring for D/ST players in team_roster() (#40).
  • Change powerWins to a normalized expectedWins in tidy_scores().
  • Add scoringPeriodId argument to functions like recent_activity() (#32).
  • Add budget_summary() version of transaction_counter().
  • Add useMatchup argument to tidy_scores() to allow for scoringPeriodId.
  • Add transaction dates (and more) to recent_activity() output.
  • Add best_roster(), using team_roster() and sorting with slot settings.
  • pro_schedule() (and nfl_schedule) are sorted by date and matchupId.
  • Deprecate all_players() in favor of more advance list_players() (#21).
  • Manually override teamId in each team_roster() data frame.
  • Clarify the name of many *Id columns (e.g., teamId, matchupId) (#31).
  • Add combine_history() utility for leagueHistory functions.
  • Improve handling of pre-draft and no-history edge cases (#35).
  • Improve abbreviation techniques, add all roster slot and position IDs (#29).
  • Fix error checking in ffl_api(). Returns proper error message when there is a failure (e.g., non-public league) (#36).

fflr 1.9.2

05 Oct 19:02
Compare
Choose a tag to compare
  • Fix tidy_scores() for settings that award home team points.
  • Remove bad variables argument from pro_scores().
  • Add vignette and update the README and logo.
  • Unnest the currentScoringPeriod in ffl_seasons().
  • Remove seasonId argument in sub-functions.
  • Use proTeamId and playerId column names in data.
  • Clarify which columns are simulated in league_simulation().
  • Add overwrite argument to ffl_id() to set options() regardless.
  • Rename state_correct() to stat_corrections() and update for new back-end.

fflr 1.9.0

18 Sep 17:47
Compare
Choose a tag to compare
fflr 1.9.0 Pre-release
Pre-release

This release represents coverage of issues #24 and #27. The package replicates the functionality of the website, providing a machine interface for information on leagues and players. Work still needs to be done to test (#30) and clean up the matching column names across outputs (especially when team/position/slot IDs have been converted to abbreviations #31).

fflr 0.3.15

09 Jan 21:55
Compare
Choose a tag to compare

This mostly relates to ensuring examples, vignettes, etc run properly despite the season having ended. Functions like roster_moves() use a specific week = 5 argument to ensure they actually pull data for examples.

fflr 0.3.12

08 Nov 03:43
Compare
Choose a tag to compare

This patch primarily fixes bugs related to handling API errors.

  • Use known weekly rosters in all tests, examples, and vignettes.
  • Improve the way all_players() safely handles bye week stats.
  • Skip all_players() tests and examples on CRAN for time reasons.
  • Remove changes to options() in try_api(), keep Sys.sleep().
  • Use try_api() for all other JSON calls (.e.g., ffl_seasons()).

fflr 0.3.9

28 Oct 14:20
Compare
Choose a tag to compare

Initial CRAN release. Covers most functionality of the ESPN website (see #10):

  • List all players, find individual athlete information, news, outlooks, corrections, trends.
  • League members, teams, standings, settings, rosters, schedule, messages, transactions, draft.
  • Historical match and week scores, live scoring and projections.
  • Convenience functions for best roster, starting roster.