Interactive Tables Update / by Matthias Kullowatz

By Matthias Kullowatz (@mattyanselmo)

We recently updated the app with a few more bells and whistles so that you can make more noise. I explained the xGoal model changes earlier, so here I’ll highlight the app’s key updates. We’ve made the app accessible publicly, we’ve integrated compensation into the data tabs, and we’ve improved sidebar filter options.

On all the data tabs, we have mapped compensation by players and teams. You can see the compensation field “Comp” on the far right of any data table. Because our compensation data comes from a different source, it proved impossible to map every player to his compensation. We have currently mapped players that make up more than 98% of all shots taken and passes completed, respectively, and we will continue to fill in the gaps. Below you can see how player compensation has been integrated into plots. The plot shows that player compensation for those with at least 1,000 minutes played in 2018 has a moderate linear correlation to xG+xA/96 at 0.424, but that many players fall well off the line.

On the team tab, we show the relationship between expected goal differential (xGD) and total team compensation. The relationship is essentially flat.


These two screen shots shown highlight the improvements we’ve made to the side bar options. Our new dropdown menu filters keep the sidebar more compact, and the select all/none options make it easier to filter to the exact set of choices that interest you.

For those interested in the R Shiny code behind the app, by far the most exciting upgrade is that you can now clone the application from GitHub, and run and edit it locally on your own computer. While the raw data files are still private, all the app’s UI, server code, summarized data, and functions are there for you to play with. If you pull updates regularly, you can hop over to the development branch of the app and see what we’re working on.

Making the app more available is really important to me, as I have always wanted to make ASA as open-source as possible. Looking ahead, we are always working on adding new features and data to the app. If you are interested in helping develop the application, don’t hesitate to let us know!