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     2023               1 401547353 Det     KC       FALSE 
#>  2     2023               1 401547353 KC      Det      TRUE  
#>  3     2023               1 401547396 Bal     Hou      TRUE  
#>  4     2023               1 401547396 Hou     Bal      FALSE 
#>  5     2023               1 401547397 Cin     Cle      FALSE 
#>  6     2023               1 401547397 Cle     Cin      TRUE  
#>  7     2023               1 401547398 Min     TB       TRUE  
#>  8     2023               1 401547398 TB      Min      FALSE 
#>  9     2023               1 401547399 Ten     NO       FALSE 
#> 10     2023               1 401547399 NO      Ten      TRUE  
#> # ℹ 534 more rows
#> # ℹ 1 more variable: date <dttm>