| Literature DB >> 30937847 |
Ruben C Arslan1, Matthias P Walther2, Cyril S Tata3.
Abstract
Open-source software improves the reproducibility of scientific research. Because existing open-source tools often do not offer dedicated support for longitudinal data collection on phones and computers, we built formr, a study framework that enables researchers to conduct both simple surveys and more intricate studies. With automated email and text message reminders that can be sent according to any schedule, longitudinal and experience-sampling studies become easy to implement. By integrating a web-based application programming interface for the statistical programming language R via OpenCPU, formr allows researchers to use a familiar programming language to enable complex features. These can range from adaptive testing, to graphical and interactive feedback, to integration with non-survey data sources such as self-trackers or online social network data. Here we showcase three studies created in formr: a study of couples with dyadic feedback; a longitudinal study over months, which included social networks and peer and partner ratings; and a diary study with daily invitations sent out by text message and email and extensive feedback on intraindividual patterns.Entities:
Keywords: Feedback; Online; R; Study; Survey; Web
Mesh:
Year: 2020 PMID: 30937847 PMCID: PMC7005096 DOI: 10.3758/s13428-019-01236-y
Source DB: PubMed Journal: Behav Res Methods ISSN: 1554-351X
Simple example item table
| type | name | showif | label | choice1 | choice2 | choice3 |
|---|---|---|---|---|---|---|
| text | abode | Where do you live? | ||||
| mc god_nr | god_nr | How many gods do you believe in? | ||||
| mc | god | god_nr == 1 | Who do you believe in? | Cthulhu | Spaghetti Monster | Glob |
| mc_multiple | gods | god_nr == 2 | Who do you believe in? | Cthulhu | Spaghetti Monster | Glob |
This survey contains three question types. Conditionally on the response to the second question, the third or fourth questions can be shown
Simple example choices for the item table shown in Table 1
| list_name | name | label |
|---|---|---|
| god_nr | 0 | none |
| 1 | one | |
| 2 | two or more |
Fig. 1Table 1, as rendered by formr on a mobile device
Fig. 2Screenshot of a very simple run for a one-shot survey. The tape deck controls at the bottom allow researchers to add further components, and the publicness settings for the study are in the top right-hand corner. The function of each button is explained on mouseover
Schematic table of a diary study
| Position Component | Description | Code/Text |
|---|---|---|
| 10 Survey | Screening survey asking for demographics and contact information | Questions:age, gender, email address |
| 20 SkipForward | Test whether participant is allowed to drink alcohol in the US, depending on their reported age. | screening$age >= 21 # If eligible for study, skip to position 40, if not go on to position 30. |
| 30 Stop | If participant is younger than 21, stop them here. | Sorry, you are too young to participate. |
| 40 Pause | Wait until tomorrow at 5 p.m. to start the diary. | You can close your browser now. You will be invited to continue by email tomorrow at 5 p.m. |
| 50 Email | Invitation email to the diary | Please go to {{login_link}} |
| 60 Survey | Daily diary assessing mood and drinking behavior | Questions: mood, drinking |
| 70 SkipBackward | Repeat diary 30 times | nrow (diary) < 30 # if filled out fewer than 30 times, jump back to position 40 |
| 80 StopButton | End of diary | Thank you for participating. Here is how your mood and alcohol use correlate.```{r}library (ggplot2)qplot (diary$alcohol, diary$mood)``` |
The text after # shows comments in the R source code
Fig. 3Feedback graph example from a study on risk preferences, showing a graph generated with ggplot2
Fig. 4A (translated) graph of one participant’s psychological changes across the menstrual cycle in the daily diary study
Fig. 5Example of a (translated) feedback graph, generated in the daily diary study to show how the participant had spent her time during the week and during the weekend