Get NFL standings for a specific season from ESPN's API

get_nfl_standings(season = 2019, quiet = FALSE)

Arguments

season

Either numeric or character

Value

Returns a tibble

Examples

# Get standings from 2018 season get_nfl_standings(season = "2018")
#> Returning 2018
#> # A tibble: 32 × 28 #> conf season team_id team_location team_name team_abb team_full team_logo #> <chr> <int> <chr> <chr> <chr> <chr> <chr> <chr> #> 1 AFC 2018 24 Los Angeles Chargers LAC Los Angel… https://a.e… #> 2 AFC 2018 12 Kansas City Chiefs KC Kansas Ci… https://a.e… #> 3 AFC 2018 34 Houston Texans HOU Houston T… https://a.e… #> 4 AFC 2018 17 New England Patriots NE New Engla… https://a.e… #> 5 AFC 2018 33 Baltimore Ravens BAL Baltimore… https://a.e… #> 6 AFC 2018 11 Indianapolis Colts IND Indianapo… https://a.e… #> 7 AFC 2018 23 Pittsburgh Steelers PIT Pittsburg… https://a.e… #> 8 AFC 2018 10 Tennessee Titans TEN Tennessee… https://a.e… #> 9 AFC 2018 5 Cleveland Browns CLE Cleveland… https://a.e… #> 10 AFC 2018 15 Miami Dolphins MIA Miami Dol… https://a.e… #> # … with 22 more rows, and 20 more variables: seed <int>, wins <dbl>, #> # losses <dbl>, win_pct <dbl>, g_behind <dbl>, ties <dbl>, pts_for <dbl>, #> # pts_against <dbl>, pts_diff <dbl>, streak <dbl>, div_ties <dbl>, #> # record <chr>, home_wins <dbl>, home_losses <dbl>, away_wins <dbl>, #> # away_losses <dbl>, conf_wins <dbl>, conf_losses <dbl>, div_wins <dbl>, #> # div_losses <dbl>
# Get standings from 2010 season get_nfl_standings(2010)
#> Returning 2010
#> # A tibble: 32 × 28 #> conf season team_id team_location team_name team_abb team_full team_logo #> <chr> <int> <chr> <chr> <chr> <chr> <chr> <chr> #> 1 AFC 2010 17 New England Patriots NE New Engla… https://a.e… #> 2 AFC 2010 23 Pittsburgh Steelers PIT Pittsburg… https://a.e… #> 3 AFC 2010 33 Baltimore Ravens BAL Baltimore… https://a.e… #> 4 AFC 2010 20 New York Jets NYJ New York … https://a.e… #> 5 AFC 2010 11 Indianapolis Colts IND Indianapo… https://a.e… #> 6 AFC 2010 12 Kansas City Chiefs KC Kansas Ci… https://a.e… #> 7 AFC 2010 24 San Diego Chargers SD San Diego… https://a.e… #> 8 AFC 2010 13 Oakland Raiders OAK Oakland R… https://a.e… #> 9 AFC 2010 30 Jacksonville Jaguars JAX Jacksonvi… https://a.e… #> 10 AFC 2010 15 Miami Dolphins MIA Miami Dol… https://a.e… #> # … with 22 more rows, and 20 more variables: seed <int>, wins <dbl>, #> # losses <dbl>, win_pct <dbl>, g_behind <dbl>, ties <dbl>, pts_for <dbl>, #> # pts_against <dbl>, pts_diff <dbl>, streak <dbl>, div_ties <dbl>, #> # record <chr>, home_wins <dbl>, home_losses <dbl>, away_wins <dbl>, #> # away_losses <dbl>, conf_wins <dbl>, conf_losses <dbl>, div_wins <dbl>, #> # div_losses <dbl>