Information on the current fantasy football season, with functions to quickly access and modify certain information (like the current seasonId or scoringPeriodId).

ffl_info()

ffl_year(offset = 0)

ffl_week(offset = 0)

Arguments

offset

Add negative or positive values.

Value

A list of season information.

See also

Other Game information: espn_games(), ffl_seasons()

Examples

str(ffl_info())
#> List of 6
#>  $ abbrev              : chr "FFL"
#>  $ active              : logi TRUE
#>  $ currentSeason       : int 2024
#>  $ currentScoringPeriod: int 1
#>  $ startDate           : POSIXct[1:1], format: "2024-03-25 07:00:00"
#>  $ endDate             : POSIXct[1:1], format: "2026-03-25 07:00:00"
Sys.time()
#> [1] "2024-05-17 14:08:28 UTC"
ffl_year()
#> [1] 2024
ffl_week(-1)
#> [1] 0