Loads team graphics, colors, and logos - useful for plots!
Arguments
- current
If
TRUE
(the default), returns a standardized list of current teams only, with abbreviations as per team_abbr_mapping.
See also
Issues with this data should be filed here: https://github.com/nflverse/nflverse-pbp
Examples
# \donttest{
try({ # prevents cran errors
load_teams()
})
#> ── nflverse team graphics ──────────────────────────────────────────────────────
#> ℹ Data updated: 2023-01-06 12:38:39 UTC
#> # A tibble: 32 × 16
#> team_abbr team_name team_id team_…¹ team_…² team_…³ team_…⁴ team_…⁵ team_…⁶
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 ARI Arizona Ca… 3800 Cardin… NFC NFC We… #97233F #000000 #ffb612
#> 2 ATL Atlanta Fa… 0200 Falcons NFC NFC So… #A71930 #000000 #a5acaf
#> 3 BAL Baltimore … 0325 Ravens AFC AFC No… #241773 #9E7C0C #9e7c0c
#> 4 BUF Buffalo Bi… 0610 Bills AFC AFC Ea… #00338D #C60C30 #0c2e82
#> 5 CAR Carolina P… 0750 Panthe… NFC NFC So… #0085CA #000000 #bfc0bf
#> 6 CHI Chicago Be… 0810 Bears NFC NFC No… #0B162A #C83803 #0b162a
#> 7 CIN Cincinnati… 0920 Bengals AFC AFC No… #FB4F14 #000000 #000000
#> 8 CLE Cleveland … 1050 Browns AFC AFC No… #FF3C00 #311D00 #a5acaf
#> 9 DAL Dallas Cow… 1200 Cowboys NFC NFC Ea… #002244 #B0B7BC #acc0c6
#> 10 DEN Denver Bro… 1400 Broncos AFC AFC We… #002244 #FB4F14 #00234c
#> # … with 22 more rows, 7 more variables: team_color4 <chr>,
#> # team_logo_wikipedia <chr>, team_logo_espn <chr>, team_wordmark <chr>,
#> # team_conference_logo <chr>, team_league_logo <chr>,
#> # team_logo_squared <chr>, and abbreviated variable names ¹team_nick,
#> # ²team_conf, ³team_division, ⁴team_color, ⁵team_color2, ⁶team_color3
# }