Learn R Programming

fflr (version 2.3.0)

combine_history: 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, ...)

Value

A data frame of combined outputs.

Arguments

fun

A function with the leagueHistory argument.

...

Additional arguments passed to the function used in fun.

Examples

Run this code
combine_history(tidy_scores, leagueId = "252353")

Run the code above in your browser using DataLab