Using formr to create R-powered surveys with individualized feedback

R surveys formr

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.

Watch the lightning talk

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.

Full screen slides Slides as PDF

Keyboard Shortcuts for Slides:

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:


If you see mistakes or want to suggest changes, please create an issue on the source repository.


Text and figures are licensed under Creative Commons Attribution CC BY-SA 4.0. Source code is available at, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Helveston (2021, Jan. 21). Using formr to create R-powered surveys with individualized feedback. Retrieved from

BibTeX citation

  author = {Helveston, John Paul},
  title = { Using formr to create R-powered surveys with individualized feedback},
  url = {},
  year = {2021}