nflplotR 1.2.0
New Features
- Add new functions
gt_nfl_logos()
andgt_nfl_wordmarks()
to render logos and wordmarks ingt()
html tables. (#39) - Add new function
gt_nfl_headshots()
to render player headshots ingt()
html tables. (#41) - Add new function
gt_render_image()
to render gt tables to an image in package function examples or reproducible examples. (#42) - Add new function
nflverse_sitrep()
to compute a nflverse related situation report.
Breaking Changes
- The functions
geom_from_path()
,element_path()
as well as the ref line functionsgeom_mean_line()
andgeom_median_line()
have been outsourced to the ggpath package. nflplotR re-exports them for compatibility reasons. However, the ref line functions needed modification in order to work properly with ggplot2 scale transformations. Those geoms now require the aestheticsx0
andy0
instead ofv_var
andh_var
respectively. This means that nflplotR will break code (!) where ref line geoms are called withv_var
andh_var
aesthetics. This is a hard but necessary step to revise an irreparable mistake in the development of the original code. (#43)
Minor Changes
- Update Eagles and Commanders wordmarks with latest versions from NFL. (#44)
- Update Bears logo (it's now the Bear) and secondary color to meet their brand guidelines. (#46)
Thank you to @Adeiko, and @tanho63 for their questions, feedback, and contributions towards this release.