diff --git a/404.html b/404.html index 2775b57..dd07474 100644 --- a/404.html +++ b/404.html @@ -6,13 +6,7 @@ Page not found (404) • ggsoccer - - - - - - - + @@ -25,7 +19,7 @@ - +
@@ -54,9 +48,9 @@ @@ -67,7 +61,7 @@
- +
@@ -95,16 +89,16 @@

Page not found (404)

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.1.1.

- - + + diff --git a/LICENSE-text.html b/LICENSE-text.html index cc1a3bb..d73671d 100644 --- a/LICENSE-text.html +++ b/LICENSE-text.html @@ -1,9 +1,9 @@ -License • ggsoccerLicense • ggsoccer - +
@@ -29,16 +29,16 @@ Changelog
- +
@@ -65,15 +65,15 @@

License

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.1.1.

- - + + diff --git a/LICENSE.html b/LICENSE.html index 425c9fd..6edee43 100644 --- a/LICENSE.html +++ b/LICENSE.html @@ -1,9 +1,9 @@ -MIT License • ggsoccerMIT License • ggsoccer - +
@@ -29,16 +29,16 @@ Changelog
- +
@@ -69,15 +69,15 @@

MIT License

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.1.1.

- - + + diff --git a/apple-touch-icon-120x120.png b/apple-touch-icon-120x120.png deleted file mode 100644 index 79c8837..0000000 Binary files a/apple-touch-icon-120x120.png and /dev/null differ diff --git a/apple-touch-icon-152x152.png b/apple-touch-icon-152x152.png deleted file mode 100644 index 668d802..0000000 Binary files a/apple-touch-icon-152x152.png and /dev/null differ diff --git a/apple-touch-icon-180x180.png b/apple-touch-icon-180x180.png deleted file mode 100644 index 95cdf4e..0000000 Binary files a/apple-touch-icon-180x180.png and /dev/null differ diff --git a/apple-touch-icon-60x60.png b/apple-touch-icon-60x60.png deleted file mode 100644 index 05a9808..0000000 Binary files a/apple-touch-icon-60x60.png and /dev/null differ diff --git a/apple-touch-icon-76x76.png b/apple-touch-icon-76x76.png deleted file mode 100644 index 8c1b794..0000000 Binary files a/apple-touch-icon-76x76.png and /dev/null differ diff --git a/apple-touch-icon.png b/apple-touch-icon.png deleted file mode 100644 index e876026..0000000 Binary files a/apple-touch-icon.png and /dev/null differ diff --git a/authors.html b/authors.html index 95e350f..df654a3 100644 --- a/authors.html +++ b/authors.html @@ -1,9 +1,9 @@ -Authors and Citation • ggsoccerAuthors and Citation • ggsoccer - +
@@ -29,47 +29,47 @@ Changelog
- +
- +
  • -

    Ben Torvaney. Author, maintainer. +

    Ben Torvaney. Author, maintainer.

Citation

- Source: DESCRIPTION + Source: DESCRIPTION

Torvaney B (2024). ggsoccer: Plot Soccer Event Data. -R package version 0.1.8.9000, https://github.com/Torvaney/ggsoccer, https://torvaney.github.io/ggsoccer/. +R package version 0.2.0, https://github.com/Torvaney/ggsoccer, https://torvaney.github.io/ggsoccer/.

@Manual{,
   title = {ggsoccer: Plot Soccer Event Data},
   author = {Ben Torvaney},
   year = {2024},
-  note = {R package version 0.1.8.9000, https://github.com/Torvaney/ggsoccer},
+  note = {R package version 0.2.0, https://github.com/Torvaney/ggsoccer},
   url = {https://torvaney.github.io/ggsoccer/},
 }
@@ -84,15 +84,15 @@

Citation

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.1.1.

- - + + diff --git a/favicon-16x16.png b/favicon-16x16.png deleted file mode 100644 index 1e9f584..0000000 Binary files a/favicon-16x16.png and /dev/null differ diff --git a/favicon-32x32.png b/favicon-32x32.png deleted file mode 100644 index 4bf59fd..0000000 Binary files a/favicon-32x32.png and /dev/null differ diff --git a/favicon.ico b/favicon.ico deleted file mode 100644 index b19c33f..0000000 Binary files a/favicon.ico and /dev/null differ diff --git a/index.html b/index.html index f6dd698..3ba9ba3 100644 --- a/index.html +++ b/index.html @@ -6,23 +6,13 @@ Plot Soccer Event Data • ggsoccer - - - - - - - + - + - +
@@ -59,9 +49,9 @@ @@ -72,7 +62,7 @@
- +
@@ -287,8 +277,8 @@

Python

Links

@@ -336,16 +326,16 @@

Dev status

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.1.1.

- - + + diff --git a/news/index.html b/news/index.html index a5dfbb1..a7c3b3d 100644 --- a/news/index.html +++ b/news/index.html @@ -1,9 +1,9 @@ -Changelog • ggsoccerChangelog • ggsoccer - +
@@ -29,71 +29,74 @@ Changelog
- +
+
+ +
-
  • Add IMPECT pitch dimensions (pitch_impect)
  • -
  • Fixed precision bug in arc drawing, which could cause the pitch to fail to render
  • -
  • Amended penalty arc to use the correct curvature, making them more visible on Wyscout and StatsPerform pitches
  • +
    • Add pitch_impect: IMPECT pitch dimensions.
    • +
    • Fixed precision bug in arc drawing, which could cause the pitch to fail to render.
    • +
    • Amended penalty arc to use the correct curvature, making them more visible on Wyscout and StatsPerform pitches.
-
  • Add support for custom goals markings
  • -
  • Add pitch_statsperform alias for Opta data
  • +
    • Add support for custom goals markings.
    • +
    • Add pitch_statsperform alias for Opta data.
-
  • Add support for Tracab pitch dimensions (pitch_tracab and make_pitch_tracab)
  • -
  • Make direction arrow an annotation -
    • This ensures it will display properly for a ggplot without any data
    • +
      • Add support for Tracab pitch dimensions (pitch_tracab and make_pitch_tracab).
      • +
      • Make direction arrow an annotation. +
        • This ensures it will display properly for a ggplot without any data.
-
  • Make line widths consistent across all pitch elements
  • -
  • Convert coordinates between different pitch specifications
  • -
  • Add UEFA-standard pitch dimensions (pitch_international)
  • +
    • Make line widths consistent across all pitch elements.
    • +
    • Convert coordinates between different pitch specifications.
    • +
    • Add UEFA-standard pitch dimensions (pitch_international).
  • Released to CRAN!
  • -
  • Link penalty box arc to pitch specification -
    • Fixes a previous issue in which the edge of a circle could be seen poking out from behind the pitch (#8).
    • +
    • Link penalty box arc to pitch specification. +
      • Fixes a previous issue in which the edge of a circle could be seen poking out from behind the pitch (#8).
-
  • Generate pitch markings from a generic specification -
    • This makes ggsoccer compatible with any data provider
    • +
      • Generate pitch markings from a generic specification. +
        • This makes ggsoccer compatible with any data provider.
-
  • Show pitch with scale_*_reverse -
    • Centre-circle and penalty box arcs still do not properly render when scale_*_reverse is used
    • -
    • It appears this is an issue with ggplot2 (#3120)
    • +
      • Show pitch with scale_*_reverse. +
        • Centre-circle and penalty box arcs still do not properly render when scale_*_reverse is used.
        • +
        • It appears this is an issue with ggplot2 (#3120).
-
  • Display the whole pitch by default
  • +
    • Display the whole pitch by default.
@@ -114,15 +117,15 @@
- - + + diff --git a/pkgdown.yml b/pkgdown.yml index ff07a7d..3873066 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -1,6 +1,5 @@ pandoc: 3.1.11 -pkgdown: 2.0.7 +pkgdown: 2.1.1 pkgdown_sha: ~ articles: {} -last_built: 2024-04-04T22:32Z - +last_built: 2024-10-06T21:24Z diff --git a/reference/Rplot001.png b/reference/Rplot001.png deleted file mode 100644 index 685da00..0000000 Binary files a/reference/Rplot001.png and /dev/null differ diff --git a/reference/Rplot002.png b/reference/Rplot002.png deleted file mode 100644 index de246c3..0000000 Binary files a/reference/Rplot002.png and /dev/null differ diff --git a/reference/Rplot003.png b/reference/Rplot003.png deleted file mode 100644 index 69065a8..0000000 Binary files a/reference/Rplot003.png and /dev/null differ diff --git a/reference/annotate_pitch-1.png b/reference/annotate_pitch-1.png index 9dad228..a9dec6d 100644 Binary files a/reference/annotate_pitch-1.png and b/reference/annotate_pitch-1.png differ diff --git a/reference/annotate_pitch.html b/reference/annotate_pitch.html index e6934e4..ce58d79 100644 --- a/reference/annotate_pitch.html +++ b/reference/annotate_pitch.html @@ -1,9 +1,9 @@ -Adds soccer pitch markings as a layer for use in a ggplot plot. — annotate_pitch • ggsoccerAdds soccer pitch markings as a layer for use in a ggplot plot. — annotate_pitch • ggsoccer - +
@@ -29,22 +29,22 @@ Changelog
- +
@@ -67,44 +67,44 @@

Adds soccer pitch markings as a layer for use in a ggplot plot.

Arguments

-
colour
+ + +
colour

Colour of pitch outline.

-
fill
+
fill

Colour of pitch fill.

-
limits
+
limits

Whether to adjust the plot limits to display the whole pitch.

-
dimensions
+
dimensions

A list containing the pitch dimensions to draw. See help(pitch_opta).

-
goals
+
goals

A function for generating goal markings. Defaults to goals_box. See help(goals_box). Formulas are turned into functions with rlang::as_function.

-
linewidth
+
linewidth

The linewidth of the pitch markings

-
alpha
+
alpha

The transparency of the pitch markings and fill

-
linetype
+
linetype

The linetype of the pitch markings (e.g. "dotted")

Value

- - -

list of ggplot geoms to be added to a ggplot plot

+

list of ggplot geoms to be added to a ggplot plot

@@ -133,15 +133,15 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.1.1.

- - + + diff --git a/reference/direction_label-1.png b/reference/direction_label-1.png index 367eb26..9cc1bbf 100644 Binary files a/reference/direction_label-1.png and b/reference/direction_label-1.png differ diff --git a/reference/direction_label.html b/reference/direction_label.html index b1edb9c..9bf39c0 100644 --- a/reference/direction_label.html +++ b/reference/direction_label.html @@ -1,9 +1,9 @@ -Adds an arrow indicating the direction of play to a ggplot plot — direction_label • ggsoccerAdds an arrow indicating the direction of play to a ggplot plot — direction_label • ggsoccer - +
@@ -29,22 +29,22 @@ Changelog
- +
@@ -66,39 +66,39 @@

Adds an arrow indicating the direction of play to a ggplot plot

Arguments

-
x_label
+ + +
x_label

x position of the centre of the arrow on the plot

-
y_label
+
y_label

y position of the arrow on the plot

-
label_length
+
label_length

length of arrow (in x axis units)

-
colour
+
colour

colour of the arrow and text

-
linewidth
+
linewidth

thickness of the arrow

-
linetype
+
linetype

linetype of the arrow

-
text_size
+
text_size

size of label text (passed onto geom_text)

Value

- - -

list of ggplot layers to be added to a ggplot plot

+

list of ggplot layers to be added to a ggplot plot

@@ -130,15 +130,15 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.1.1.

- - + + diff --git a/reference/goals_box-1.png b/reference/goals_box-1.png index 9dad228..a9dec6d 100644 Binary files a/reference/goals_box-1.png and b/reference/goals_box-1.png differ diff --git a/reference/goals_box-2.png b/reference/goals_box-2.png index cced6f3..5976daf 100644 Binary files a/reference/goals_box-2.png and b/reference/goals_box-2.png differ diff --git a/reference/goals_box-3.png b/reference/goals_box-3.png index 3195feb..50d0bd1 100644 Binary files a/reference/goals_box-3.png and b/reference/goals_box-3.png differ diff --git a/reference/goals_box.html b/reference/goals_box.html index 2df9c3f..62609cc 100644 --- a/reference/goals_box.html +++ b/reference/goals_box.html @@ -1,10 +1,10 @@ -Goals markings — goals_box • ggsoccerGoals markings — goals_box • ggsoccer - +
@@ -30,22 +30,22 @@ Changelog
- +
@@ -91,51 +91,51 @@

Goals markings

Arguments

-
colour
+ + +
colour

Colour of pitch outline.

-
fill
+
fill

Colour of pitch fill.

-
dimensions
+
dimensions

A list containing the pitch dimensions to draw. See help(pitch_opta).

-
linewidth
+
linewidth

Determines line thickness in goals_strip and goals_line.

-
alpha
+
alpha

Determines alpha in goals_box.

-
linetype
+
linetype

Determines linetype in goals_box and goals_strip.

-
offset
+
offset

Determines how deep the goal extends.

-
...
+
...

Passed onto underlying ggplot2::annotate calls.

-
lineend
+
lineend

Determines lineend in goals_strip and goals_line.

-
relative_width
+
relative_width

Determines relative width of the goal marking to the pitch markings in goals_line.

Value

- - -

list of ggplot geoms to be added to a ggplot plot

+

list of ggplot geoms to be added to a ggplot plot

Details

@@ -186,15 +186,15 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.1.1.

- - + + diff --git a/reference/index.html b/reference/index.html index 340cf68..a0bb89d 100644 --- a/reference/index.html +++ b/reference/index.html @@ -1,9 +1,9 @@ -Function reference • ggsoccerPackage index • ggsoccer - +
@@ -29,16 +29,16 @@ Changelog
- +
@@ -91,15 +91,15 @@

All functions
-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.1.1.

- - + + diff --git a/reference/make_pitch_tracab-1.png b/reference/make_pitch_tracab-1.png index c35463b..a14bfa6 100644 Binary files a/reference/make_pitch_tracab-1.png and b/reference/make_pitch_tracab-1.png differ diff --git a/reference/make_pitch_tracab.html b/reference/make_pitch_tracab.html index fa9c86a..693008a 100644 --- a/reference/make_pitch_tracab.html +++ b/reference/make_pitch_tracab.html @@ -1,5 +1,5 @@ -Create Tracab dimensions object from pitch length and width — make_pitch_tracab • ggsoccerCreate Tracab dimensions object from pitch length and width — make_pitch_tracab • ggsoccer - +
@@ -33,22 +33,22 @@ Changelog
- +
@@ -66,19 +66,19 @@

Create Tracab dimensions object from pitch length and width

Arguments

-
length
+ + +
length

Length of the pitch in metres

-
width
+
width

Width of the pitch in metres

Value

- - -

A named list of pitch marking coordinates.

+

A named list of pitch marking coordinates.

See also

@@ -110,15 +110,15 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.1.1.

- - + + diff --git a/reference/pitch_opta-1.png b/reference/pitch_opta-1.png index 135f2e4..647e789 100644 Binary files a/reference/pitch_opta-1.png and b/reference/pitch_opta-1.png differ diff --git a/reference/pitch_opta.html b/reference/pitch_opta.html index cecd8ef..d9c6407 100644 --- a/reference/pitch_opta.html +++ b/reference/pitch_opta.html @@ -1,5 +1,5 @@ -Pitch dimensions — pitch_opta • ggsoccerPitch dimensions — pitch_opta • ggsoccer - +
@@ -33,22 +33,22 @@ Changelog
- +
@@ -138,15 +138,15 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.1.1.

- - + + diff --git a/reference/rescale_coordinates.html b/reference/rescale_coordinates.html index 78904e9..6510c4e 100644 --- a/reference/rescale_coordinates.html +++ b/reference/rescale_coordinates.html @@ -1,12 +1,12 @@ -Rescale x-y coordinates — rescale_coordinates • ggsoccerRescale x-y coordinates — rescale_coordinates • ggsoccer - +
@@ -32,22 +32,22 @@ Changelog
- +
@@ -66,11 +66,13 @@

Rescale x-y coordinates

Arguments

-
from
+ + +
from

The dimensions to convert from (see help(dimensions))

-
to
+
to

The dimensions to convert to (see help(dimensions))

@@ -113,15 +115,15 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.1.1.

- - + + diff --git a/reference/theme_pitch-1.png b/reference/theme_pitch-1.png index 4a77c3a..59e136b 100644 Binary files a/reference/theme_pitch-1.png and b/reference/theme_pitch-1.png differ diff --git a/reference/theme_pitch-2.png b/reference/theme_pitch-2.png index 7c0c618..5506724 100644 Binary files a/reference/theme_pitch-2.png and b/reference/theme_pitch-2.png differ diff --git a/reference/theme_pitch.html b/reference/theme_pitch.html index 5a46770..598f56f 100644 --- a/reference/theme_pitch.html +++ b/reference/theme_pitch.html @@ -1,9 +1,9 @@ -Removes background and axes details from a ggplot plot. — theme_pitch • ggsoccerRemoves background and axes details from a ggplot plot. — theme_pitch • ggsoccer - +
@@ -29,22 +29,22 @@ Changelog
- +
@@ -58,16 +58,16 @@

Removes background and axes details from a ggplot plot.

Arguments

-
aspect_ratio
+ + +
aspect_ratio

Aspect ratio (y / x) for the plot. Use NULL to let the plot take any aspect ratio.

Value

- - -

list of ggplot themes to be added to a ggplot plot

+

list of ggplot themes to be added to a ggplot plot

@@ -103,15 +103,15 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.1.1.

- - + + diff --git a/sitemap.xml b/sitemap.xml index 23f683c..266c6b7 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1,45 +1,17 @@ - - - - /404.html - - - /LICENSE-text.html - - - /LICENSE.html - - - /authors.html - - - /index.html - - - /news/index.html - - - /reference/annotate_pitch.html - - - /reference/direction_label.html - - - /reference/goals_box.html - - - /reference/index.html - - - /reference/make_pitch_tracab.html - - - /reference/pitch_opta.html - - - /reference/rescale_coordinates.html - - - /reference/theme_pitch.html - + +/404.html +/LICENSE-text.html +/LICENSE.html +/authors.html +/index.html +/news/index.html +/reference/annotate_pitch.html +/reference/direction_label.html +/reference/goals_box.html +/reference/index.html +/reference/make_pitch_tracab.html +/reference/pitch_opta.html +/reference/rescale_coordinates.html +/reference/theme_pitch.html +