Skip to content

Commit

Permalink
Added PHF to list of viable hockey leagues. Also re-created testing p…
Browse files Browse the repository at this point in the history
…lots for vdiffr to check against
  • Loading branch information
rossdrucker committed Nov 3, 2021
1 parent 747bf9b commit e5f2c22
Show file tree
Hide file tree
Showing 145 changed files with 6,473 additions and 10,686 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: sportyR
Title: Plot Scaled 'ggplot' Representations of Sports Playing Surfaces
Version: 1.0.3
Version: 1.0.4
Authors@R: person("Ross", "Drucker", email = "ross.a.drucker@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-0688-0235"))
Maintainer: Ross Drucker <ross.a.drucker@gmail.com>
Description: Create scaled 'ggplot' representations of playing surfaces.
Expand Down
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

- Removed requirement to include a plot caption color (fixes [#3](https://github.com/rossdrucker/sportyR/issues/3))

- On September 7, 2021, the NWHL changed names to be the PHF. This name change is now reflected in the package, with NWHL still valid so as to be backwards compatible.

## sportyR 1.0.3

- Added tennis plotting capability
Expand All @@ -21,4 +23,4 @@

# sportyR 1.0.0

Initial release! Ability to plot baseball, basketball ((W)NBA, NCAA, and FIBA), football (NFL and NCAA), hockey ((W)NHL, IIHF, NCAA), and soccer (FIFA, MLS, NCAA, NWSL, and Premier League) is included, with the capability to customize outputs in specific colors.
Initial release! Ability to plot baseball, basketball ((W)NBA, NCAA, and FIBA), football (NFL and NCAA), hockey ((W)NHL, IIHF, NCAA), and soccer (FIFA, MLS, NCAA, NWSL, and Premier League) is included, with the capability to customize outputs in specific colors.
3 changes: 3 additions & 0 deletions R/cani-functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ cani_color_league_features = function(league_code, sport_name = NULL) {
"NWSL" = {
names(nwsl_features_set_colors())
},
"PHF" = {
names(phf_features_set_colors())
},
"PREMIER" = {
names(premier_league_features_set_colors())
},
Expand Down
Loading

0 comments on commit e5f2c22

Please sign in to comment.