Package: sportyR 2.3.0

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

9.53 score 120 stars 1 packages 195 scripts 667 downloads 16 exports 32 dependencies

Last updated from:562e8c410d. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK170
source / vignettesOK243
linux-releaseOK132
macos-releaseOK131
macos-oldrelOK109
windows-develOK117
windows-releaseOK83
windows-oldrelOK100
wasm-releaseOK113

Exports:cani_color_league_featurescani_plot_leaguecani_plot_sportconvert_unitsgeom_baseballgeom_basketballgeom_curlinggeom_footballgeom_hockeygeom_lacrossegeom_soccergeom_softballgeom_tennisgeom_volleyballreflectrotate_coords

Dependencies:clicommonmarkcpp11curlfarverggfittextggplot2gluegridtextgtableisobandjpeglabelinglifecyclelitedownmagrittrmarkdownpngR6RColorBrewerRcpprlangS7scalesshadesstringistringrvctrsviridisLitewithrxfunxml2

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

Last update: 2026-08-27
Started: 2022-08-11

Customizing Plots
Our Authors | Citation | Related SportsDataverse packages

Last update: 2026-08-27
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 | Our Authors | Citation | Related SportsDataverse packages

Last update: 2026-08-27
Started: 2022-08-11

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

Last update: 2026-08-27
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 Softball Fieldgeom_softball
Draw Tennis Courtgeom_tennis
Draw Volleyball Courtgeom_volleyball