Package: sportyR 2.4.5

Ross Drucker

sportyR: Plot Scaled 'ggplot' Representations of Sports Playing Surfaces

Create scaled 'ggplot' representations of playing surfaces. Playing surfaces are drawn pursuant to rule-book specifications. This package should be used as a baseline plot for displaying any type of tracking data.

Authors:Ross Drucker [aut, cre]

sportyR_2.4.5.tar.gz
sportyR_2.4.5.zip(r-4.7-any)sportyR_2.4.5.zip(r-4.6-any)
sportyR_2.4.5.tar.gz(r-4.7-any)sportyR_2.4.5.tar.gz(r-4.6-any)
sportyR_2.4.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
sportyR/json (API)

# Install 'sportyR' in R:
install.packages('sportyR', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/sportsdataverse/sportyr/issues

Pkgdown/docs site:https://sportyr.sportsdataverse.org

On CRAN:

Conda:

4.35 score 1 packages 185 scripts 607 downloads 17 exports 32 dependencies

Last updated from:cd8e332a9e. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develOK130
source / vignettesOK248
linux-releaseOK127
windows-develOK86
windows-releaseOK99
wasm-releaseOK110

Exports:cani_color_league_featurescani_plot_leaguecani_plot_sportconvert_unitsgeom_baseballgeom_basketballgeom_curlinggeom_footballgeom_hockeygeom_lacrossegeom_soccergeom_softballgeom_tennisgeom_volleyballget_surface_dimensionsreflectrotate_coords

Dependencies:clicommonmarkcpp11curlfarverggfittextggplot2gluegridtextgtableisobandjpeglabelinglifecyclelitedownmagrittrmarkdownpngR6RColorBrewerRcpprlangS7scalesshadesstringistringrvctrsviridisLitewithrxfunxml2

Animating Tracking Data
The Data | Our Authors | Citation | Related SportsDataverse packages

Last update: 2026-10-28
Started: 2022-08-15

Customizing Plots
Our Authors | Citation | Related SportsDataverse packages

Last update: 2026-10-28
Started: 2022-08-15

Getting Started
Installing R, RStudio, and sportyR | Understanding and Exploring the Package | The geom_{sport}() Functions | Follow the sportsdataverse on Twitter and Star This Repo | Our Authors | Citation | Related SportsDataverse packages

Last update: 2026-10-28
Started: 2022-08-15

Plotting Tracking Data
Introduction | The Data | Drawing the Plot | Adding the Data | Two-Coordinate Data | Our Authors | Citation | Related SportsDataverse packages

Last update: 2026-10-28
Started: 2022-08-15

Readme and manuals

Help Manual

Help pageTopics
Can I Color a League Feature?cani_color_league_features
Can I Plot League?cani_plot_league
Can I Plot Sport?cani_plot_sport
Convert Unitsconvert_units
Draw Baseball Fieldgeom_baseball
Draw Basketball Courtgeom_basketball
Draw Curling Sheetgeom_curling
Draw Football Fieldgeom_football
Draw Hockey Rinkgeom_hockey
Draw Lacrosse Fieldgeom_lacrosse
Draw Soccer Pitchgeom_soccer
Draw Softball Fieldgeom_softball
Draw Tennis Courtgeom_tennis
Draw Volleyball Courtgeom_volleyball
Get a Surface's Dimensionsget_surface_dimensions