- Update to 2025 API endpoints and update package data.
- Added the
cookieargument toffl_api()which can be passed to any function through the...argument. The cookie is needed to retrieve historical data (usingleagueHistory = TRUEis no longer enough). Theespn_s2cookie can be obtained from your browser's developer tools. This is a very clunky system and I'm working on an easier system.
- Update
nfl_playersandnfl_schedulefor 2024 season. - Continue updates to switch from 2023 to 2024.
- 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()andleague_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.- Add
firstNameandlastNametoleague_members() - Add
logoandlogoTypetoleague_teams()
- Add
- Use latest package dependencies.
- Package has been updated for the 2023 season!
- Functions now use
seasonId = 2023by default inffl_api().
- Functions now use
- Update objects with latest data from 2023 season.
- Fix
nfl_playersto include actually all of the players. - Adjust the free agent information in
nfl_teams. - Add more function tests.
- Add
bonusWincolumn tolive_scoring().
- Functions now use
seasonId = 2022by default inffl_api().
- Return empty
pro_*()data with relevant message post-season.
- Adjust
player_acquire()names to matchteam_roster(). - Fix
list_players()test error on CRAN.
- Deprecate
tidy_matchups()and replace withtidy_schedule(). - Leave
itemsnested inrecent_activity(). - Fix bye week scoring for D/ST players in
team_roster()(#40). - Change
powerWinsto a normalizedexpectedWinsintidy_scores(). - Add
scoringPeriodIdargument to functions likerecent_activity()(#32). - Add
budget_summary()version oftransaction_counter(). - Add
useMatchupargument totidy_scores()to allow forscoringPeriodId. - Add transaction dates (and more) to
recent_activity()output. - Add
best_roster(), usingteam_roster()and sorting with slot settings. pro_schedule()(andnfl_schedule) are sorted bydateandmatchupId.- Deprecate
all_players()in favor of more advancelist_players()(#21). - Manually override
teamIdin eachteam_roster()data frame. - Clarify the name of many
*Idcolumns (e.g.,teamId,matchupId) (#31). - Add
combine_history()utility forleagueHistoryfunctions. - 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).
- 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
currentScoringPeriodinffl_seasons(). - Remove
seasonIdargument in sub-functions. - Use
proTeamIdandplayerIdcolumn names in data. - Clarify which columns are simulated in
league_simulation(). - Add
overwriteargument toffl_id()to setoptions()regardless. - Rename
state_correct()tostat_corrections()and update for new back-end.
- Rename some functions to match the website section headers (e.g.,
roster_moves()torecent_activity()). - Add
pro_events()andpro_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 usesRETRY()instead offromJSON(). - Use the same argument/column names as the API (
leagueIdinstead oflid). - 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 toGET()instead offromJSON()(#25).