Skip to contents

Loads team information including colors and logos - useful for plots!

Usage

load_cfb_teams(fbs_only = TRUE)

Arguments

fbs_only

if TRUE, returns only FBS teams, otherwise returns all teams in the dataset

Value

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

See also

cfbd_team_info()

Issues with this data should be filed here: https://github.com/sportsdataverse/cfbfastR-data

Examples

# \donttest{
  try(load_cfb_teams())
#> ── Team information ────────────────────────────────────────── cfbfastR 1.9.5 ──
#>  Data updated: 2022-09-17 20:01:35 UTC
#> # A tibble: 673 × 27
#>    team_id school   mascot abbreviation alt_name1 alt_name2 alt_name3 conference
#>      <int> <chr>    <chr>  <chr>        <chr>     <chr>     <chr>     <chr>     
#>  1    2000 Abilene… Wildc… ACU          NA        ACU       Abil Chr… Western A…
#>  2    2001 Adams S… Grizz… ADST         NA        ADST      Adams St  Rocky Mou…
#>  3    2003 Adrian   Bulld… ADR          NA        ADR       Adrian    Michigan  
#>  4    2005 Air For… Falco… AFA          NA        AFA       Air Force Mountain …
#>  5    2006 Akron    Zips   AKR          NA        AKR       Akron     Mid-Ameri…
#>  6     333 Alabama  Crims… ALA          NA        ALA       Alabama   SEC       
#>  7    2010 Alabama… Bulld… AAMU         NA        AAMU      Alabama … SWAC      
#>  8    2011 Alabama… Horne… ALST         NA        ALST      Alabama … SWAC      
#>  9     399 Albany   Great… ALBY         SUNY Alb… ALBY      Albany    CAA       
#> 10    2013 Albany … Golde… ALB          NA        ALB       Albany S… SIAC      
#> # ℹ 663 more rows
#> # ℹ 19 more variables: classification <chr>, color <chr>, alt_color <chr>,
#> #   logo <chr>, logo_2 <chr>, venue_id <int>, venue_name <chr>, city <chr>,
#> #   state <chr>, zip <chr>, country_code <chr>, timezone <chr>, latitude <dbl>,
#> #   longitude <dbl>, elevation <chr>, capacity <int>, year_constructed <int>,
#> #   grass <lgl>, dome <lgl>
# }