The opponents each team faces every week in a regular season.

pro_schedule(seasonId = ffl_year())

Arguments

seasonId

Season schedule (2004-present), defaults to ffl_year().

Value

Data frame of team opponents by week.

See also

Other professional football functions: pro_events()

Examples

pro_schedule(seasonId = ffl_year(-2))
#> # A tibble: 544 × 7
#>    seasonId scoringPeriodId matchupId proTeam opponent isHome
#>       <int>           <int>     <int> <fct>   <fct>    <lgl> 
#>  1     2022               1 401437654 Buf     LAR      FALSE 
#>  2     2022               1 401437654 LAR     Buf      TRUE  
#>  3     2022               1 401437630 Mia     NE       TRUE  
#>  4     2022               1 401437630 NE      Mia      FALSE 
#>  5     2022               1 401437632 NYJ     Bal      TRUE  
#>  6     2022               1 401437632 Bal     NYJ      FALSE 
#>  7     2022               1 401437634 Cin     Pit      TRUE  
#>  8     2022               1 401437634 Pit     Cin      FALSE 
#>  9     2022               1 401437637 Ind     Hou      FALSE 
#> 10     2022               1 401437637 Hou     Ind      TRUE  
#> # ℹ 534 more rows
#> # ℹ 1 more variable: date <dttm>