This project contains all tutorials completed in R using the free data from StatsBomb. If you have any requests please message me on Twitter or contact me and I will add any future tutorials here.
Hi everyone, in this weeks R For Sport post we are looking at how to calculate rolling averages using different packages that have been developed specifically for R.
Hey everyone, 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.
Hi Everyone, This week we are stepping back in time a bit, returning to the origins of my blog and showcasing some R. We will be walking through an Introduction to R, focussing on StatsBombR.
Hi Everyone, I recently had a few people reach out to me about creating plots in Power Bi for visualising the direction of kicks in Rugby. Sure it is a different sport, but I thought this was a perfect time to show a few methods of doing this, using football data, that we can apply back to rugby data.
Hi all, In my next video, I build upon the shot plot we created a couple of videos ago using R. This plot was built using ggplot2 and ggsoccer, which allows us to more accurately plot our data.
Hi all, last time we created a nice shot plot using the built-in scatter plot for Power Bi. Today we will take things a step further, using the R Custom Visual in Power Bi.
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.
Following on from last weeks post on plotting passes, I thought it might be fun to plot the shots and locations of players using the shot freeze frame in StatsBomb data.
For this tutorial I am going to show you how to plot all the passes from a match on a pitch. We are going to go through this in a few steps and add some detail as we go.
An examination of shots from different pitch locations using R and the x y coordinates provided by StatsBomb
A tutorial on extracting freeze frame data from free StatsBomb data in R. In this tutorial we will use the dplyr and purr packages from R
An anaysis of shots using FA WSL data from StatsBomb and the ggplot package in R