Package: ggsoccer 0.2.0

Ben Torvaney

ggsoccer: Plot Soccer Event Data

The 'ggplot2' package provides a powerful set of tools for visualising and investigating data. The 'ggsoccer' package provides a set of functions for elegantly displaying and exploring soccer event data with 'ggplot2'. Providing extensible layers and themes, it is designed to work smoothly with a variety of popular sports data providers.

Authors:Ben Torvaney [aut, cre]

ggsoccer_0.2.0.tar.gz
ggsoccer_0.2.0.tar.gz(r-4.5-noble)ggsoccer_0.2.0.tar.gz(r-4.4-noble)
ggsoccer_0.2.0.tgz(r-4.4-emscripten)ggsoccer_0.2.0.tgz(r-4.3-emscripten)
ggsoccer.pdf |ggsoccer.html
ggsoccer/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/torvaney/ggsoccer/issues

Pkgdown:https://torvaney.github.io

2.79 score 123 scripts 562 downloads 16 exports 28 dependencies

Last updated 2 months agofrom:69b2926f4e. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 06 2024
R-4.5-linuxOKDec 06 2024

Exports:annotate_pitchdirection_labelgoals_boxgoals_linegoals_stripmake_pitch_tracabpitch_impectpitch_internationalpitch_optapitch_statsbombpitch_statsperformpitch_tracabpitch_wyscoutrescale_coordinatesrescale_internationaltheme_pitch

Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Adds soccer pitch markings as a layer for use in a ggplot plot.annotate_pitch
Adds an arrow indicating the direction of play to a ggplot plotdirection_label
Goals markingsgoals_box goals_line goals_strip
Create Tracab dimensions object from pitch length and widthmake_pitch_tracab
Pitch dimensionspitch_impect pitch_international pitch_opta pitch_statsbomb pitch_statsperform pitch_tracab pitch_wyscout
Rescale x-y coordinatesrescale_coordinates rescale_international
Removes background and axes details from a ggplot plot.theme_pitch