Site icon R-bloggers

Why R 2018 Winners

[This article was first published on R on The Jumping Rivers Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

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.

How we did it

So it really wasn’t that hard. We held the questionnaire on typeform. Conveniently, my colleague has created a package rtypeform which is an interface to the typeform API. You can install this from CRAN in the usual way

install.packages("rtypeform")
library("rtypeform")

The following code will give you a data frame called q containing a column for each question contained in the WhyR questionnaire.

typeforms = get_all_typeforms()$content
uid = typeforms[typeforms$name == "WhyR", "uid"]
q = get_questionnaire(uid)$completed

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 typeform_api this code will work (remember to change the questionnaire name!). With that, a bit of dplyr and the classic sample(), we can generate a winner for the competition

The winners

Drum roll please… the winner is…

Agnieszka Fronczyk!

Congratulations Agnieszka! We’ll see you in Wroclaw!

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!


To leave a comment for the author, please follow the link and comment on their blog: R on The Jumping Rivers Blog.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.