Data of survey form Component

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win 10
PsychoPy version (e.g. 1.84.x): 2022.1.2
Standard Standalone? (y/n) yes If not then what?:
What are you trying to achieve?: I’m trying to see through the data of my survey form component. The Problem is, that when there yes/no questions involved the only data output from [survey response] I get is either 10 oder 0. When the question type is “radio” or “choice” I just get either the number 10 or 0 as data output. I don’t know what this means.

What did you try to make it work?: Don’t know how to

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.
Demo Fragebogen.xlsx (9.0 KB)
The data looks as follows:

Please could you upload a raw test data file? The RT looks wrong so I suspect that it’s an issue with reading the CSV.

Yes sure, which of the three would that be? I always receive those 3 data files per run.
If you could just tell me which one you need? :slight_smile:


SecDemo_NeueDemo_2022-04-27_15h06.46.388.csv (86.0 KB)
Here you go thank you very much.

That data file had the following data in Survey.response (column DC). Your image shows Survey(2).response, so I’m guessing than some manipulation has happened.

Make sure you have commas as separators in Excel.


I already have commas as seperators in Excel. I figured out that the numbers for example 0.0 stands for the first choice the participants get to make in the form component. So when there is the first option which says “yes” and the second which says “no”, the 0.0 refers to the “yes” because it stands first. “No” would be 1.0. If that makes sense? So the issue is kind of solved, but I was wondering whether it is possible that when the participants click “no” in the form component with the choice type, that I also get the “no” as output in my data, not just the number.

Hello Joshua,

it is possible to add a variable to the data-file which codes 1 as no and 0 as yes. You need an if-construction and set the variable accordingly. But this could be done in your analysis software as well ;-).

BTW, our output-file is rather cluttered. It seems that you experiment contains quite many routines that are similar to each and only differ in stimuli that are presented. The output gets more organized when you reuse routines and just change the stimuli that are being presented.

Best wishes Jens


This does explain it, thank you very much. :slight_smile: