Skip to content

Commit

Permalink
Oakland -> Las Vegas; close #22
Browse files Browse the repository at this point in the history
  • Loading branch information
beanumber committed Feb 5, 2023
1 parent 8a8cd91 commit c6f2e57
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ Encoding: UTF-8
LazyData: true
URL: http://github.com/beanumber/teamcolors
BugReports: https://github.com/beanumber/teamcolors/issues
RoxygenNote: 7.0.2
RoxygenNote: 7.2.3
2 changes: 1 addition & 1 deletion data-csv/teamcolors_bigfour.csv
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ New England Patriots,nfl,#002244,#c60c30,#b0b7bc,#001532
New Orleans Saints,nfl,#9f8958,#000000,NA,NA
New York Giants,nfl,#0b2265,#a71930,#a5acaf,#012352
New York Jets,nfl,#125740,#000000,#FFFFFF,NA
Oakland Raiders,nfl,#a5acaf,#000000,#a6aeb0,NA
Las Vegas Raiders,nfl,#a5acaf,#000000,#a6aeb0,NA
Philadelphia Eagles,nfl,#004953,#a5acaf,#acc0c6,#000000
Pittsburgh Steelers,nfl,#000000,#ffb612,#c60c30,#00539b
Los Angeles Chargers,nfl,#002244,#0073cf,#ffb612,#001532
Expand Down
4 changes: 4 additions & 0 deletions data-raw/01_bigfour.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ teamcolors <- team_colors %>%

##### manual fixes:

# Raiders
teamcolors <- teamcolors %>%
mutate(name = if_else(name == "Oakland Raiders", "Las Vegas Raiders", name))

# Guardians
teamcolors <- teamcolors %>%
mutate(name = if_else(name == "Cleveland Indians", "Cleveland Guardians", name))
Expand Down
Binary file modified data/teamcolors.rda
Binary file not shown.
6 changes: 4 additions & 2 deletions man/teamcolors.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c6f2e57

Please sign in to comment.