Package: sportyR 2.2.3

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.2.3.tar.gz
sportyR_2.2.3.zip(r-4.7)sportyR_2.2.3.zip(r-4.6)sportyR_2.2.3.zip(r-4.5)
sportyR_2.2.3.tgz(r-4.6-any)sportyR_2.2.3.tgz(r-4.5-any)
sportyR_2.2.3.tar.gz(r-4.7-any)sportyR_2.2.3.tar.gz(r-4.6-any)
sportyR_2.2.3.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://sportsdataverse.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:

footballggplot2playing-surfacessportsports-analyticssports-datasports-tracking-datasportsdataversevisualization

8.61 score 117 stars 195 scripts 468 downloads 15 exports 32 dependencies

Last updated from:eb3990c39a. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK165
source / vignettesOK201
linux-release-x86_64OK158
macos-release-arm64OK118
macos-oldrel-arm64OK114
windows-develOK110
windows-releaseOK114
windows-oldrelOK115
wasm-releaseOK130

Exports:cani_color_league_featurescani_plot_leaguecani_plot_sportconvert_unitsgeom_baseballgeom_basketballgeom_curlinggeom_footballgeom_hockeygeom_lacrossegeom_soccergeom_tennisgeom_volleyballreflectrotate_coords

Dependencies:clicommonmarkcpp11curlfarverggfittextggplot2gluegridtextgtableisobandjpeglabelinglifecyclelitedownmagrittrmarkdownpngR6RColorBrewerRcpprlangS7scalesshadesstringistringrvctrsviridisLitewithrxfunxml2

Animating Tracking Data
The Data

Last update: 2026-06-13
Started: 2022-08-11

Customizing Plots

Last update: 2026-06-13
Started: 2022-08-11

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 | Author

Last update: 2026-06-13
Started: 2022-08-11

Plotting Tracking Data
Introduction | The Data | Drawing the Plot | Adding the Data | Two-Coordinate Data

Last update: 2026-06-13
Started: 2022-08-11

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 Tennis Courtgeom_tennis
Draw Volleyball Courtgeom_volleyball