• Update the package to work with the new API.
  • Update examples and tests for post-season without data.

Fix tests for post-season API data formats.

  • Update maintainer email, website URL, and GitHub URL.
  • Switch from MIT license to GPL-3
  • Adjust more tests for the end of the NFL season and changes to API.
  • Adjust tests for end of NFL season.
  • The functions league_members() and league_teams() have been adjusted to add new columns. The order of columns has also been rearranged to focus on the output of each function (all teams or all members), since some teams can have multiple owners or multiple teams can have the same owner.
  • Use latest package dependencies.
  • 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().
  • Functions now use seasonId = 2022 by default in ffl_api().
  • Return empty pro_*() data with relevant message post-season.
  • 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.
  • Rename some functions to match the website section headers (e.g., roster_moves() to recent_activity()).
  • Add pro_events() and pro_scores() for live NFL data.
  • Add vignette listing the package functions as they relate to the sections of the ESPN website.
  • Add spell checking.
  • Rename some columns to match conversion (#31).
  • The package has entirely been re-written from the ground-up (#24).
  • All functions use the new try_json() back-end, which uses RETRY() instead of fromJSON().
  • Use the same argument/column names as the API (leagueId instead of lid).
  • Return single-row data frames instead of lists for a single season.
  • Add tidy_* prefix to function names that manipulate data structure (#26).
  • Pass the ... arguments to GET() instead of fromJSON() (#25).