18/12/2023

R Markdown

Clubs spend millions of pounds on attacking player transfers. The value of an attacking player is subjective and often inflated due several factors. CLubs can also over spend on promising players, only to have them fail to perform.

Purchasing players based on a proven track record in specific attacking outputs (e.g. goals, assists, shots on target) can help clubs select players who are more likely to be successful. Understanding player outputs may also help identify players of good value. This app will allow users to easily view selected attacking statistics of players across the top 5 European football leagues.

Inputs and selected statistics

Users select from the following statistics:

Player, Nation, Pos, Squad, Comp, Age, MP (matches played), Starts, Goals, Sot (shots on target), Assists, PasCrs (crosses), PasOff (offsides), SCA (shot creating actions), ScaDrib (dribbles leading to a shot creating action)

Users must also enter, in the input box shown below, a number between 1 and 2679. The inputted number selects the top number of players for the Y variable (discussed on the next slide) and plots these players.

Selecting plot inputs

In this box, users enter the variables they would like on the X and Y axis of the plot

In this box, users enter the variables they would like to size and colour data points by

Example plot

This is an example plot where the x variable is set to Assists, the y variable is set to Goals, data points are coloured by Comp and sized by Age. The app will order the data by the selected y variable and plot the number of players entered by the user, which in this case = 50.

## [1] "C"