Using formr to create R-powered surveys with individualized feedback


My rstudio::conf 2021 lightning talk on creating R-powered surveys using {formr}”


John Paul Helveston



Watch the talk

I gave a lightning talk at the 2021 rstudio conference on using {formr} to create R-powered surveys.

I also gave an extended version of the talk at the GW Coders Meetup on Feb. 19, 2021. You can see that below (the first 5 minutes is the same as my rstudio::conf lightning talk):


Here are my slides for my rstudio::conf lightning talk built using the {xaringan} R package. You can also see the source code for the slides here.

Keyboard Shortcuts for Slides:

  • Use and to navigate through the slides.
  • Use f to toggle full screen.
  • Use o to view an overview of all slides.
  • Use h to see a list of other shortcuts.
<iframe class="golden-ratio-iframe" src=""></iframe>

Surveys with {formr}

In my presentation, I showed several examples of how to use the {formr} package to create different types of surveys. The surveys are all generated from Google sheets, which can be found here:

  1. Random images demonstrates how to randomly display different images.
  2. Conjoint surveys demonstrates how to create a conjoint survey with formr (go to the formr4conjoint repo for a more detailed description)
  3. Timed quizzes demonstrates how to create a timed quiz with randomly generated questions.

To use any of these surveys yourself, go to, create an account. Once you log in, go to the admin page and create a new survey. You can then paste in the link to the Google sheet there. If you want to edit it, just create copy of the Google sheet into your own Google Drive account and use the shared link to that Google sheet.

Once you have a survey uploaded, you can make it live by creating a “Run” and inserting the survey you created by clicking on the icon as well as a “Stop” point to end the survey by clicking on the icon. The link to the survey will be

You can control the “publicness” of the survey by modifying the “volume” icons:

  • means only you can access the survey
  • means you and people who have an access code can access (no new users can enroll).
  • means people who have the link can access.
  • means the link is public, everyone can access.
Back to top