load_teams {nflreadr}R Documentation

Load NFL Team Graphics, Colors, and Logos

Description

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

Usage

load_teams(current = TRUE)

Arguments

current

If TRUE (the default), returns a standardized list of current teams only, with abbreviations as per team_abbr_mapping.

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



try({ # prevents cran errors
  load_teams()
})



[Package nflreadr version 1.4.0 Index]