combine_history: Combine league history with current season

View source: R/combine.R

combine_historyR Documentation

Combine league history with current season

Description

Runs a function fun twice, once with the leagueHistory set to TRUE and once set to FALSE. Combined the output of both runs into a single data frame.

Usage

combine_history(fun, ...)

Arguments

fun

A function with the leagueHistory argument.

...

Additional arguments passed to the function used in fun.

Value

A data frame of combined outputs.

Examples

combine_history(tidy_scores, leagueId = "252353")

fflr documentation built on Sept. 14, 2023, 9:10 a.m.