Skip to contents

Get list of NFL teams

Usage

cfbd_draft_teams()

Value

cfbd_draft_teams() - A data frame with 4 variables:

nfl_location: character.

NFL team location (city).

nfl_nickname: integer

NFL team nickname (mascot).

nfl_display_name: integer

NFL team display name (usually more neat/complete).

nfl_logo: character

URL for NFL team logo.

Examples

# \donttest{
  try(cfbd_draft_teams())
#> ── NFL teams data from CollegeFootballData.com ─────────────── cfbfastR 1.9.5 ──
#>  Data updated: 2024-09-10 01:22:55 UTC
#> # A tibble: 32 × 4
#>    nfl_location nfl_nickname nfl_display_name   nfl_logo                        
#>    <chr>        <chr>        <chr>              <chr>                           
#>  1 Arizona      Cardinals    Arizona Cardinals  https://a.espncdn.com/i/teamlog…
#>  2 Atlanta      Falcons      Atlanta Falcons    https://a.espncdn.com/i/teamlog…
#>  3 Baltimore    Ravens       Baltimore Ravens   https://a.espncdn.com/i/teamlog…
#>  4 Buffalo      Bills        Buffalo Bills      https://a.espncdn.com/i/teamlog…
#>  5 Carolina     Panthers     Carolina Panthers  https://a.espncdn.com/i/teamlog…
#>  6 Chicago      Bears        Chicago Bears      https://a.espncdn.com/i/teamlog…
#>  7 Cincinnati   Bengals      Cincinnati Bengals https://a.espncdn.com/i/teamlog…
#>  8 Cleveland    Browns       Cleveland Browns   https://a.espncdn.com/i/teamlog…
#>  9 Dallas       Cowboys      Dallas Cowboys     https://a.espncdn.com/i/teamlog…
#> 10 Denver       Broncos      Denver Broncos     https://a.espncdn.com/i/teamlog…
#> # ℹ 22 more rows
# }