load_teams: Load NFL Team Graphics, Colors, and Logos

View source: R/load_teams.R

load_teamsR 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()
})



nflreadr documentation built on Sept. 11, 2024, 6:14 p.m.