Skip to contents

Loads team graphics, colors, and logos - useful for plots!

Usage

load_teams()

Value

A tibble of team-level image URLs and hex color codes.

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: 2022-09-28 20:21:00 UTC
#> # A tibble: 36 × 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 26 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
# }