Recent Releases of fflr
fflr - fflr 2.3.0
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.
- R
Published by k5cents almost 2 years ago
fflr - fflr 2.2.2
Fixes some bugs introduced by the end of the 2023 fantasy season.
- R
Published by kiernann about 2 years ago
fflr - fflr 2.2.0
Package has been updated for the 2023 season!
- Functions now use
seasonId = 2023by default inffl_api(). - 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().
- R
Published by kiernann over 2 years ago
fflr - fflr 2.1.0
Package has been updated for the 2022 season!
- Functions now use
seasonId = 2022from default inffl_api(). - Included data has been updated to 2022:
nfl_players,nfl_schedule,nfl_teams
- R
Published by kiernann over 3 years ago
fflr - fflr 2.0.0
- 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).
- R
Published by kiernann over 4 years ago
fflr - fflr 1.9.2
- 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.
- R
Published by kiernann over 4 years ago
fflr - fflr 1.9.0
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).
- R
Published by kiernann over 4 years ago
fflr - fflr 0.3.15
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.
- R
Published by kiernann about 5 years ago
fflr - fflr 0.3.12
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()intry_api(), keepSys.sleep(). - Use
try_api()for all other JSON calls (.e.g.,ffl_seasons()).
- R
Published by kiernann over 5 years ago
fflr - fflr 0.3.9
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.
- R
Published by kiernann over 5 years ago