|
Post by anke2212 on Sept 17, 2020 15:33:08 GMT
Hi everyone!
The psytoolkit program by default gives an unique ID to each participant. However, we are going to give the participants an ID number ourselves and we want to include these ID's in the name of the textfiles instead of the ID number that was given by the program. Is this possible and how? This would make our analysis a lot easier and more structured.
Hopefully there is a solution for this! Thank you in advance for your help with this!
Best regards, Anke
|
|
|
Post by PsyToolkit on Sept 17, 2020 16:08:39 GMT
PsyToolkit gives participants a unique ID. This follows a standard convention in computer science, using the so called "universally unique identifier".
Typically, I analyse my data files "offline" using R when I do a data analysis. What you can do is use the data.csv file. You can read this into R (which also has the names of the corresponding experiment files), and use that to cycle through all your data files.
I am not sure who you wish to number them, I assume you maybe want to number than from 1 to the total number of participants. You could do this with a few lines of R code (or other scripting software such as Ruby, Python, Visual Basic, etc).
|
|
|
Post by alexandra (AEC) on Sept 18, 2020 10:59:46 GMT
I agree, you could use R or any other type of scripting software to add your code after, when you have the data. If participants have the code already before starting the experiment, you could use the textline question for participants to type in their code. In your survey code you could add something like this:
l: ParticipantID t: textline q: Please enter your participant ID here. - Participant ID:
The IDs would be saved in addition with the unique IDs from PsyToolkit, which you could remove using any of the mentioned software.
|
|