Welcome back to this weeks R for sport post. This week, we will start working with CSV files in R. I will show you how to read the data into an R environment, manipulate the data and export the data to a new file.
Since I wrote this first post back in 2019, a few things have changed with how our capture the data from the StatsBomb open data sets. So this post, is mostly unchanged, but the code itself is different and will work with newer versions of R, namely 4+.
This post is aimed at walking through one method of comparing players upon specific metrics within a league setting. For this example I will use a couple of different metrics from the free StatsBomb FA WSL dataset.
The use of scatter plots can provide a lot of information in a quick snapshot. In this blog post I provide an overview of some uses the scatter plot can have in comparing relational data to see where a team fits compared to their opposition.
In football, set-piece scenarios are often considered as threatening and given considerable time towards mastering in the hope of positive outcomes. However, one piece teams often under value are throw-ins, particularly when they occur in the final third of the pitch.