[solved] linked vs unlinked logger
Hi guys!
I'm a bit struggling with the logging method atm, in particular how the different variables are stored in the logfile.
I start my experiment with 4 demographic questions (the first loop), after that the participant need to fill in a questionnaire (the second loop).
When I use 2 unlinked loggers to log the variables I get this result:
The red rectangle on the top are the 4 variable names of the demographic questions, the answers are under them, in the green rectangle.
When the second loop starts, the questions are on the right side and the answers on the left, so it's really mixed up.
When I use linked loggers I get this logfile:
Now each variable name is adjacent to the other and all the answers are under them.
But in that way all the variables are taken into account in each trial so you got a lot of NA's and when the first loop is finished, the value is 'fixed' for the rest of the trials (f.e. the age is 22 but that was only one question, but it's displayed for the rest of all the trials..)
So, I was wondering if there's a way to get your data more aligned, that you get straight columns (or rows) with data and the variable names as 'header', with less NA, duplicated data or mixed up positions of variables and data.
Thanks in advance.
Kind regards,
Benjamin
Comments
Hi Benjamin,
I know it is odd, but the second way is the correct way to go at it. I admit there is a lot of redundancy in it, but it is the easiest format to process with scripts, excel, or whatever tool you use later on. These usually expect each column to represent a single variable (or even data type). If you are mixing those up, or place headers on any row except the first, it will be a lot more difficult to analyze your data later.
Ok, in that case I'll do it that way.
Thank you!
This topic can be marked as solved btw.
Kind regards,
Benjamin