This project was inspired by a presentation about the ongoing discourse about how France's imperial history is reflected in its national team through players with heritage from current and former colonies. He emphasized the role of these players in the recent triumphs of Les Bleus.
I was intrigued by this topic, and I wanted to see how other countries have leveraged their imperial histories to recruit top footballing talent...and I knew the process could be automated.
Thus, I created a Python program to scrape (using Beautiful Soup) the roster data for each national team off of Wikipedia. The program then scrapes and records the birthplaces of the players on a given team, and this data is represented visually on the map above.
The project yielded some interesting findings that go beyond showing how imperial states pull players from current and former colonies. Other findings include:
Wikipedia lacks:
These pieces of information were simply ommitted in the scraping, so they are not reflected in the queries above
The data only looks at the birthplaces of the players, not necessarily their heritage