<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="http://www.r-bloggers.com/euro-2016-squads-part-deux/"></div></div><div><a data-url="http://www.r-bloggers.com/euro-2016-squads-part-deux/" data-counturl="http://www.r-bloggers.com/euro-2016-squads-part-deux/" data-count="horizontal" data-text="Euro 2016 Squads Part Deux" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="https://gjabel.wordpress.com/2016/06/21/euro-2016-squads-part-deux/"> R – Guy Abel</a></strong>, and kindly contributed to <a rel="nofollow" href="http://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>Between some of the games I had a go at replicating a plot from <a target="_blank" href="http://www.liberation.fr/sports/2016/06/14/40-joueurs-de-l-euro-2016-sont-nes-en-angleterre_1459192">liberation.fr</a> on the connections between Euro 2016 players and the country of birth using the <code>circlize</code> package in R. As with the <a target="_blank" href="https://gjabel.wordpress.com/2016/06/15/euro-2016-squads/">previous post</a>, the colours are based on the home shirt of each team and data scraped from Wikipedia. The values in the parenthesis represent the total number of players born in the respective country, which dictates their ordering around the circle. It is interesting to see just how many players represent countries that they were not born in. Only Romania has a 23 man squad completely full of players born in the country and no other Romanian born players representing other nations.</p>
<p><img alt="plot_circle2" class="wp-image-1785" src="https://gjabel.files.wordpress.com/2016/06/plot_circle21.png?w=840"></p>
<p>I also modified some the my <code>ggplot2</code> mapping code in my previous post to plot the links between players place of birth and the capital city of their national team: <img alt="plot_pob1" class="wp-image-1786" src="https://gjabel.files.wordpress.com/2016/06/plot_pob1.png?w=840">Click on the images if you want to explore. Here is an expanded view to illustrate all the longer distance relationships:<img alt="plot_pob2" class="wp-image-1787" src="https://gjabel.files.wordpress.com/2016/06/plot_pob2.png?w=840">All the code is up on my <a target="_blank" href="https://github.com/gjabel/ecmig">Github</a>.</p>
<p> <a target="_blank" rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gjabel.wordpress.com/1779/"><img alt="" src="http://feeds.wordpress.com/1.0/comments/gjabel.wordpress.com/1779/" border="0"></a> <img height="1" alt="" width="1" src="https://pixel.wp.com/b.gif?host=gjabel.wordpress.com&blog=13658317&%23038;post=1779&%23038;subd=gjabel&%23038;ref=&%23038;feed=1" border="0"></p>
<p><div><div><div><div data-width="55" data-show-faces="false" data-send="true" data-layout="box_count" data-height="62" data-href="http://www.r-bloggers.com/euro-2016-squads-part-deux/"></div></div><div><a data-url="http://www.r-bloggers.com/euro-2016-squads-part-deux/" data-counturl="http://www.r-bloggers.com/euro-2016-squads-part-deux/" data-count="vertical" data-text="Euro 2016 Squads Part Deux" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="https://gjabel.wordpress.com/2016/06/21/euro-2016-squads-part-deux/"> R – Guy Abel</a></strong>.</div>
<hr>
<a rel="nofollow" href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="http://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" rel="nofollow" href="http://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="http://www.r-bloggers.com/?s=data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="http://www.r-bloggers.com/?s=Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="http://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" rel="nofollow" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" rel="nofollow" href="http://www.r-bloggers.com/?s=time+series">time series</a>, <a title="finance trading" rel="nofollow" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/CyRP0vkk03Y"></a></div>