Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions data-csv/divisions_bigfour.csv
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ AL Central,Cleveland Guardians
AL Central,Detroit Tigers
AL Central,Kansas City Royals
AL Central,Minnesota Twins
AL West,Athletics
AL West,Houston Astros
AL West,Los Angeles Angels
AL West,Oakland Athletics
AL West,Seattle Mariners
AL West,Texas Rangers
NL East,Atlanta Braves
Expand Down Expand Up @@ -91,7 +91,6 @@ NFC West,Arizona Cardinals
NFC West,Los Angeles Rams
NFC West,San Francisco 49ers
NFC West,Seattle Seahawks
AFC * Club has relocated at some point in its existence† Club was a founding member of the NFL, Club has relocated at some point in its existence Club was a founding member of the NFL
Atlantic,Boston Bruins
Atlantic,Buffalo Sabres
Atlantic,Detroit Red Wings
Expand All @@ -108,13 +107,13 @@ Metropolitan,New York Rangers
Metropolitan,Philadelphia Flyers
Metropolitan,Pittsburgh Penguins
Metropolitan,Washington Capitals
Central,Arizona Coyotes
Central,Chicago Blackhawks
Central,Colorado Avalanche
Central,Dallas Stars
Central,Minnesota Wild
Central,Nashville Predators
Central,St. Louis Blues
Central,Utah Mammoth
Central,Winnipeg Jets
Pacific,Anaheim Ducks
Pacific,Calgary Flames
Expand Down
5 changes: 3 additions & 2 deletions data-csv/teamcolors_bigfour.csv
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Milwaukee Brewers,mlb,#0a2351,#b6922e,NA,NA
Minnesota Twins,mlb,#002b5c,#d31145,NA,NA
New York Mets,mlb,#ff5910,#002d72,NA,NA
New York Yankees,mlb,#003087,#FFFFFF,#e4002b,NA
Oakland Athletics,mlb,#003831,#efb21e,NA,NA
Athletics,mlb,#003831,#efb21e,NA,NA
Philadelphia Phillies,mlb,#284898,#e81828,NA,NA
Pittsburgh Pirates,mlb,#fdb827,#000000,NA,NA
San Diego Padres,mlb,#002d62,#fec325,#7f411c,#a0aab2
Expand Down Expand Up @@ -104,7 +104,7 @@ Tampa Bay Buccaneers,nfl,#d50a0a,#34302b,#000000,#ff7900
Tennessee Titans,nfl,#002244,#4b92db,#c60c30,#a5acaf
Washington Commanders,nfl,#773141,#ffb612,#000000,#5a1414
Anaheim Ducks,nhl,#010101,#a2aaad,#fc4c02,#85714d
Arizona Coyotes,nhl,#010101,#862633,#ddcba4,NA
Utah Mammoth,nhl,#010101,#6dace4,#ffffff,NA
Boston Bruins,nhl,#010101,#ffb81c,NA,NA
Buffalo Sabres,nhl,#003087,#FFB81C,#FFFFFF,NA
Calgary Flames,nhl,#010101,#f1be48,#c8102e,NA
Expand All @@ -127,6 +127,7 @@ Ottawa Senators,nhl,#010101,#c8102e,#c69214,NA
Philadelphia Flyers,nhl,#010101,#fa4616,NA,NA
Pittsburgh Penguins,nhl,#010101,#ffb81c,NA,NA
San Jose Sharks,nhl,#010101,#e57200,#006272,NA
Seattle Kraken,nhl,#001628,#99d9d9,#355464,#68a2b9
St. Louis Blues,nhl,#041e42,#ffb81c,#003087,NA
Tampa Bay Lightning,nhl,#00205b,NA,NA,NA
Toronto Maple Leafs,nhl,#00205b,NA,NA,NA
Expand Down
19 changes: 18 additions & 1 deletion data-raw/01_bigfour.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ teamcolors <- teamcolors %>%
# Washington Football Team
teamcolors <- teamcolors %>%
mutate(name = ifelse(name == "Washington Redskins", "Washington Commanders", name))


# Buffalo Sabres
teamcolors <- teamcolors %>%
Expand All @@ -112,6 +111,24 @@ teamcolors <- teamcolors %>%
)


# Utah Mammoth - not in Jim Nielsen's site
# Pulled hex codes directly from https://assets.nhle.com/logos/nhl/svg/UTA_dark.svg
teamcolors <- teamcolors %>%
mutate(primary = ifelse(name == "Arizona Coyotes", '#010101', primary),
secondary = ifelse(name == "Arizona Coyotes", '#6dace4', secondary),
tertiary = ifelse(name == "Arizona Coyotes", '#ffffff', tertiary),
quaternary = ifelse(name == "Arizona Coyotes", NA, quaternary),
name = ifelse(name == "Arizona Coyotes", "Utah Mammoth", name))

# Seattle Kraken - not in Jim Nielsen's site
# Pulled hex codes from https://teamcolorcodes.com/seattle-kraken-colors/
teamcolors <- teamcolors %>%
add_row(name = "Seattle Kraken", primary = '#001628', secondary = '#99d9d9',
tertiary = '#355464', quaternary = '#68a2b9', league='nhl')

# Athletics
teamcolors <- teamcolors %>%
mutate(name = if_else(name == "Oakland Athletics", "Athletics", name))

write_csv(
teamcolors,
Expand Down
3 changes: 2 additions & 1 deletion data-raw/99_logos.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ logos <- leagues %>%
mutate(team = gsub(" ", " ", team),
team = ifelse(team == "D.C. United", "DC United", team),
team = ifelse(team == "Columbus Crew SC", "Columbus Crew", team),
team = ifelse(team == "Seattle Reign FC", "Reign FC", team))
team = ifelse(team == "Seattle Reign FC", "Reign FC", team),
team = ifelse(team == " Athletics", "Athletics", team))



Expand Down
Binary file modified data/teamcolors.rda
Binary file not shown.