Example code to produce action density plots from StatsBomb event data using R.
These plots were adapted from @danzn1.
This code will produce density plots like these:
The data used for this example comes from StatsBomb's free event data.
createPitchETM is modified from FC_Rstats.