<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/erum-competition-winners/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="https://blog.jumpingrivers.com/posts/2018/erum2018-competition-winners/"> R on The Jumping Rivers Blog</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<div>
<ul>
<li><a rel="nofollow" href="https://blog.jumpingrivers.com/posts/2018/erum2018-competition-winners/#the-main-competition" target="_blank">The Main Competition</a></li>
<li><a rel="nofollow" href="https://blog.jumpingrivers.com/posts/2018/erum2018-competition-winners/#the-secondary-competition" target="_blank">The Secondary Competition</a></li>
<li><a rel="nofollow" href="https://blog.jumpingrivers.com/posts/2018/erum2018-competition-winners/#what-next" target="_blank">What next?</a></li>
</ul>
</div>
<div>
<img src="https://i1.wp.com/blog.jumpingrivers.com/img/2018/eRum_jr.png?w=456&ssl=1" data-recalc-dims="1">
</div>
<p>The results of the eR<a rel="nofollow" href="https://blog.jumpingrivers.com/posts/2018/jumping_rivers_erum/" target="_blank">um competition</a> are in! Before we announce the winners we would like to thank everyone who entered. It has been a pleasure to look at all of the ideas on show.</p>
<div>
<h3>The Main Competition</h3>
<p>The winner of the main competition is Lukasz Janiszewski. Lukasz provided a fantastic visualisation of the locations of each R user/ladies group and all R conferences. You can see his app <a rel="nofollow" href="https://ch2m.shinyapps.io/erum_jr/" target="_blank">here</a>. If you want to view his code, you are able to do so in this <a rel="nofollow" href="https://github.com/lukuiR/Rpublic" target="_blank">GitHub repo</a>. The code is contained in the directory erum_jr and the data preparation can be seen in <code>budap.R</code>.</p>
<p>Lukasz made 3 csv files contained the information about the R user, R ladies and R conferences. Using the help of <a rel="nofollow" href="https://www.r-bloggers.com/osm-nominatim-with-r-getting-locations-geo-coordinates-by-its-address/" target="_blank">an Rbloggers post</a>, he was able to add the geospatial information to those csv files. Finally, he scraped each meetup page for information on the R-ladies groups. Using all of this information, he was able to make an informative, visually appealing dashboard with <strong>shiny</strong>.</p>
<p>Lukasz will now be jetting off to Budapest, to eRum 2018!</p>
</div>
<div>
<h3>The Secondary Competition</h3>
<p>The winner of the secondary competition is Jenny Snape. Jenny provided an excellent script to parse the current .Rmd files and extract the conference and group urls &amp; locations. The script can be found in this <a rel="nofollow" href="https://gist.github.com/jumpingrivers/a05f8ae598747be49679b0b75790f2e2" target="_blank">GitHub gist</a>. Jenny has written a few words to summarise her script…</p>
<p>“The files on github can be read into R as character vectors (where each line is a element of the vector) using the R <code>readLines()</code> function.</p>
<p>From this character vector, we need to extract the country, the group name and url. This can be done by recognising that each line containing a country starts with a ‘##’ and each line containing the group name and url starts with a ’*‘. Therefore we can use these ’tags’ to cycle through each element of the character vector and pull out vectors containing the countries, the cities and the urls of the R groups. These vectors can then be cleaned and joined together into a data frame.</p>
<p>I wrote these steps into a function that accepted each R group character vector as an input and returned the final data frame. As one of the data sets contained just R Ladies groups, I fed this in as an argument and returned it as a column in the final data frame in order to differentiate between the different group types. I also returned a variable based on the character vector input in order to differentiate between the different world continents.</p>
<p>Running this function on each of the character vectors creates separate data sets which can then be all joined together. This creates a final dataset containing all the information on each R group: the type of group, the url, the city and the region.&quot;</p>
<p>As well as this, Jenny provided us with a fantastic <a rel="nofollow" href="https://jennifersnape.shinyapps.io/leaflet_app/" target="_blank"><strong>shiny</strong> dashboard</a>, summarising the data.</p>
<p>Jenny has now received a free copy of <a rel="nofollow" href="http://shop.oreilly.com/?cmp=af-npa--storehome_cj_11257098_4003003" target="_blank">Efficient R Prgoramming</a>!</p>
<p>Once again, thank you to all who entered and well done to our winners, Lukasz and Jenny!</p>
</div>
<div>
<h3>What next?</h3>
<p>We’re in the process of converting Jenny’s &amp; Lukasz’s hard work into a nice dashboard that will be magically updated via our list of <a rel="nofollow" href="https://jumpingrivers.github.io/meetingsR/" target="_blank">useR groups</a> and conferences. It should be ready in a few days.</p>
<hr>
<p><a rel="nofollow" href="https://www.jumpingrivers.com/?utm_source=blog&utm_medium=image&utm_campaign=eRumCompeition" target="_blank"><img src="https://i1.wp.com/blog.jumpingrivers.com/img/logos/300_125.jpg?w=456&ssl=1" data-recalc-dims="1"></a></p>
</div>
	<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="https://blog.jumpingrivers.com/posts/2018/erum2018-competition-winners/"> R on The Jumping Rivers Blog</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/xDH9hQfx0o8" height="1"></a></div>