-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b418f5
commit 8701238
Showing
8 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#' **Data in the package for reference** | ||
#' @name data | ||
NULL | ||
#' @rdname data | ||
#' @title **NHL Team logos & colors** | ||
#' @description | ||
#' A dataset containing the full team names, abbreviations, colors & logos | ||
#' for all 32 NHL teams. | ||
#' @keywords data | ||
#' @format A data frame with 32 rows and 11 variables: | ||
#' \describe{ | ||
#' \item{full_team_name}{full team name} | ||
#' \item{team_abbr}{NHL.com team abbreviation} | ||
#' \item{team_nick}{lowercase, no spaces team nickname} | ||
#' \item{division}{current NHL division} | ||
#' \item{conference}{current NHL conference} | ||
#' \item{team_logo_espn}{primary team logo from ESPN.com} | ||
#' \item{team_color1}{current primary team color} | ||
#' \item{team_color2}{current secondary team color} | ||
#' \item{team_logo_alternate}{alternate or throwback logo} | ||
#' \item{team_color_alt1}{alternate logo primary color} | ||
#' \item{team_color_alt2}{alternate logo secondary color} | ||
#' } | ||
"nhl_team_logos" | ||
|
||
#' @rdname data | ||
#' @title **PHF Team logos & colors** | ||
#' @description | ||
#' A dataset containing the full team names, abbreviations, colors & logos | ||
#' for all PHF teams. | ||
#' @keywords data | ||
#' @format A data frame with 6 rows and 7 variables: | ||
#' \describe{ | ||
#' \item{full_team_name}{Full team name} | ||
#' \item{team_abbr}{PremierHockeyFederation.com team abbreviation} | ||
#' \item{team_nick}{Team Nickname} | ||
#' \item{team_location}{PHF team location} | ||
#' \item{team_color1}{Current primary team color. Full disclosure, I just color picked from the logos} | ||
#' \item{team_color2}{Current secondary team color. Full disclosure, I just color picked from the logos} | ||
#' \item{team_logo}{Primary team logo from fastRhockey data repository} | ||
#' } | ||
"phf_team_logos" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
full_team_name,team_abbr,team_nick,team_location,team_color1,team_color2,team_logo | ||
Boston Pride,BOS,Pride,Boston,#FEC52E,#000000,https://raw.githubusercontent.com/saiemgilani/fastRhockey-data/main/themes/phf_logos/bos.png | ||
Buffalo Beauts,BUF,Beauts,Buffalo,#69B1E1,#2B2B2B,https://raw.githubusercontent.com/saiemgilani/fastRhockey-data/main/themes/phf_logos/buf.png | ||
Connecticut Whale,CTW,Whale,Connecticut,#2657AB,#13B04C,https://raw.githubusercontent.com/saiemgilani/fastRhockey-data/main/themes/phf_logos/ctw.png | ||
Metropolitan Riveters,MET,Riveters,Metropolitan,#EA1E27,#006291,https://raw.githubusercontent.com/saiemgilani/fastRhockey-data/main/themes/phf_logos/met.png | ||
Minnesota Whitecaps,MIN,Whitecaps,Minnesota,#6174B2,#231F20,https://raw.githubusercontent.com/saiemgilani/fastRhockey-data/main/themes/phf_logos/min.png | ||
Toronto Six,TOR,Six,Toronto,#EC1D23,#CAAC6E,https://raw.githubusercontent.com/saiemgilani/fastRhockey-data/main/themes/phf_logos/tor.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
phf_team_logos <- read.csv("data-raw/phf_teams.csv") | ||
|
||
usethis::use_data(phf_team_logos,overwrite = TRUE) |
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.