This function returns a tibble with one row for every team for every weekly matchup

ff_schedule(conn, ...)

# S3 method for mfl_conn
ff_schedule(conn, ...)

Arguments

conn

a conn object created by ff_connect()

...

additional args which might be used eventually

Value

A tidy dataframe with one row per game per franchise per week

Examples

ssb_conn <- ff_connect(platform = "mfl", league_id = 54040, season = 2020) ff_schedule(ssb_conn)
#> # A tibble: 236 x 5 #> week franchise_id spread result opponent_id #> <dbl> <chr> <dbl> <chr> <chr> #> 1 1 0001 0 T 0003 #> 2 1 0002 0 T 0004 #> 3 1 0003 0 T 0001 #> 4 1 0004 0 T 0002 #> 5 1 0005 0 T 0008 #> 6 1 0006 0 T 0012 #> 7 1 0007 0 T 0009 #> 8 1 0008 0 T 0005 #> 9 1 0009 0 T 0007 #> 10 1 0010 0 T 0014 #> # ... with 226 more rows