johnwmillr / WorldCup2018

Playing with data on players in the 2018 World Cup ⚽️

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FIFA World Cup 2018

We're in the midst of the 2018 FIFA World Cup. I've wanted to play with some sort of sports-related data for a while, so I figured now is as good as a time as any to start. I've included a brief overview here, but you can take a look at my blog post for more details.

Collecting the data

After doing some Googling for World Cup APIs, I came across the Sportradar API. Sportradar provides 15 APIs for soccer data alone. Luckily, they provide a free trial for the APIs that allows a total of 1,000 queries. I wrote a Python package to make it easy to download data from a number of the Sportradar APIs.

Visualizations

I was interested in the relationships between height and weight and player positions after seeing this great post looking for similar patterns in the NFL.

Distributions of height for the different positions in soccer

About

Playing with data on players in the 2018 World Cup ⚽️


Languages

Language:Jupyter Notebook 100.0%