Fix tests for post-season API data formats.
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.
firstName
and lastName
to league_members()
logo
and logoType
to league_teams()
seasonId = 2023
by default in ffl_api()
.nfl_players
to include actually all of the players.nfl_teams
.bonusWin
column to live_scoring()
.seasonId = 2022
by default in ffl_api()
.pro_*()
data with relevant message post-season.player_acquire()
names to match team_roster()
.list_players()
test error on CRAN.tidy_matchups()
and replace with tidy_schedule()
.items
nested in recent_activity()
.team_roster()
(#40).powerWins
to a normalized expectedWins
in tidy_scores()
.scoringPeriodId
argument to functions like recent_activity()
(#32).budget_summary()
version of transaction_counter()
.useMatchup
argument to tidy_scores()
to allow for scoringPeriodId
.recent_activity()
output.best_roster()
, using team_roster()
and sorting with slot settings.pro_schedule()
(and nfl_schedule
) are sorted by date
and matchupId
.all_players()
in favor of more advance list_players()
(#21).teamId
in each team_roster()
data frame.*Id
columns (e.g., teamId
, matchupId
) (#31).combine_history()
utility for leagueHistory
functions.ffl_api()
. Returns proper error message when there is a failure (e.g., non-public league) (#36).tidy_scores()
for settings that award home team points.pro_scores()
.currentScoringPeriod
in ffl_seasons()
.seasonId
argument in sub-functions.proTeamId
and playerId
column names in data.league_simulation()
.overwrite
argument to ffl_id()
to set options()
regardless.state_correct()
to stat_corrections()
and update for new back-end.roster_moves()
to recent_activity()
).pro_events()
and pro_scores()
for live NFL data.try_json()
back-end, which uses RETRY()
instead of fromJSON()
.leagueId
instead of lid
).tidy_*
prefix to function names that manipulate data structure (#26)....
arguments to GET()
instead of fromJSON()
(#25).