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     2024               1 401671789 KC      BAL      TRUE  
#>  2     2024               1 401671789 BAL     KC       FALSE 
#>  3     2024               1 401671805 GB      PHI      FALSE 
#>  4     2024               1 401671805 PHI     GB       TRUE  
#>  5     2024               1 401671617 BUF     ARI      TRUE  
#>  6     2024               1 401671617 ARI     BUF      FALSE 
#>  7     2024               1 401671628 CIN     NE       TRUE  
#>  8     2024               1 401671628 NE      CIN      FALSE 
#>  9     2024               1 401671712 MIN     NYG      FALSE 
#> 10     2024               1 401671712 NYG     MIN      TRUE  
#> # ℹ 534 more rows
#> # ℹ 1 more variable: date <dttm>