<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/why-r-2018-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/2018-05-23-whyr-2018-winner/"> 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/2018-05-23-whyr-2018-winner/#how-we-did-it" target="_blank">How we did it</a></li>
<li><a rel="nofollow" href="https://blog.jumpingrivers.com/posts/2018/2018-05-23-whyr-2018-winner/#the-winners" target="_blank">The winners</a></li>
</ul>
</div>
<p>So it’s here… After lots of entries (147 to be precise), we can finally announce the winner of the WhyR 2018 Competition! But first, we have to tell you quickly about how we picked the winner.</p>
<div>
<h2>How we did it</h2>
<p>So it really wasn’t that hard. We held the questionnaire on <a rel="nofollow" href="http://referral.typeform.com/mzcsnTI" target="_blank">typeform</a>. Conveniently, my colleague has created a package <strong>rtypeform</strong> which is an interface to the typeform API. You can install this from CRAN in the usual way</p>
<pre><code>install.packages(&quot;rtypeform&quot;)
library(&quot;rtypeform&quot;)</code></pre>
<p>The following code will give you a data frame called <code>q</code> containing a column for each question contained in the <code>WhyR</code> questionnaire.</p>
<pre><code>typeforms = get_all_typeforms()$content
uid = typeforms[typeforms$name == &quot;WhyR&quot;, &quot;uid&quot;]
q = get_questionnaire(uid)$completed</code></pre>
<p>Now, obviously, we can’t give you access to this so I’ve hidden the Jumping Rivers API key. But, given you have your own API key assigned to the variable <code>typeform_api</code> this code will work (remember to change the questionnaire name!). With that, a bit of <strong>dplyr</strong> and the classic <code>sample()</code>, we can generate a winner for the competition</p>
</div>
<div>
<h2>The winners</h2>
<p>Drum roll please… the winner is…</p>
<p>Agnieszka Fronczyk!</p>
<p>Congratulations Agnieszka! We’ll see you in Wroclaw!</p>
<p>Commiserations to all our unlucky participants. However, we are sponsoring more data science events to come so keep an eye out here for more competitions!</p>
<hr>
<p><a rel="nofollow" href="https://www.jumpingrivers.com/?utm_source=blog&utm_medium=image&utm_campaign=whyr-comp" 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/2018-05-23-whyr-2018-winner/"> 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/byVJDeaTMuQ" height="1"></a></div>