NFL Logo Plots in 'ggplot2' and 'gt'

A set of functions to visualize National Football League analysis in 'ggplot2' plots and 'gt' tables.


nflplotR

CRANstatus CRANdownloads Devstatus R buildstatus Lifecycle:experimental nflversesupport Codecov testcoverage

The goal of nflplotR is to provide functions and geoms that help visualization of NFL related analysis. It provides a ggplot2 geom that does the heavy lifting of plotting NFL logos in high quality, with correct aspect ratio and possible transparency.

Installation

The easiest way to get nflplotR is to install it from CRAN with:

install.packages("nflplotR")

To get a bug fix or to use a feature from the development version, you can install the development version of nflplotR either from GitHub with:

if (!require("pak")) install.packages("pak")
pak::pak("nflverse/nflplotR")

or prebuilt from the development repo with:

install.packages("nflplotR", repos = c("https://nflverse.r-universe.dev", getOption("repos")))

Usage

Please see the Get Started with nflplotR and nflplotR & the gt Package articles.

Getting help

The best places to get help on this package are:

Contributing

Many hands make light work! Here are some ways you can contribute to this project:

Terms of Use

The R code for this package is released as open source under the MIT License. NFL data accessed by this package belong to their respective owners, and are governed by their terms of use.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("nflplotR")

1.7.0 by Sebastian Carl, a month ago


https://nflplotr.nflverse.com, https://github.com/nflverse/nflplotR


Report a bug at https://github.com/nflverse/nflplotR/issues


Browse source code at https://github.com/cran/nflplotR


Authors: Sebastian Carl [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports cachem, cli, data.table, ggpath, ggplot2, grid, gt, lifecycle, magick, memoise, nflreadr, rlang, S7, scales

Suggests base64enc, colorspace, covr, knitr, rmarkdown, rstudioapi, rsvg, testthat, vdiffr, webshot2


Imported by nflverse.

Suggested by nfl4th, nflseedR.


See at CRAN