Pavlovia datafiles in DB misaligned and conditions not saved

I wonder if anyone can help me save my data! I have three problems with my pavlovia output - some might be salvageable - others I suspect not.

  1. The conditions were not saved despite having explicit code to do so - I can recreate these off the participant numbers but I would like to be able to understand why they weren’t.
  2. The columns seem to be misaligned in a non systematic manner so the data cleaning file I had built on a soft launch of 10 doesn’t seem to work - it is a complex design so I don’t now even know where to start.
  3. (This is probably not salvageable) I randomised my conditions (6) by dividing the participant number by 6 but this has led to big differences in my groups when I have gone back and tried to recreate the conditions. I guess that participant number is random rather than sequential as I assumed?

Any thoughts would be greatly received - I had my settings as database but if you even know where the raw csv files are stored, I may be able to save this!

Hi Wendy,

  1. What code did you use to save the condition? Where did you do this in comparison with your code to allocate the condition.

  2. This sounds like a Excel file opening issue. Have you inspected the CSV file in a text editor?

  1. I’m surprised you haven’t already noticed that participant numbers are random by default. You could use one of my tools.

Yes, I always used to use VESPR and it was brilliant and then Survey got better and I got complacent which is a lesson to me and anyone else reading this.

I’m not sure if it’s a CSV file issue. It is just some of the rows are overlapping into the wrong columns if that makes sense. For example, row 148 and 165 are all over the place as well as others. But some are in the right place.

df.csv (3.6 MB)

Are you sure that that’s the original database file, rather than one you’ve opened and resaved?

I think it might be caused by hard returns in editable textbox responses but that should be okay if the file is opened in the right way first time.

Yes, I have resaved that but the original is also a mess. Is there a way around it?

df.csv (3.6 MB)

Hello @wendyross

I had no problems to import your data-file into R. It gives me 2332 observations with 178 variables. Does that fit your expectations?

Best wishes Jens

1 Like

Hi Jens

Thank you. I can also import it into R but several observations are misaligned with the columns - for example row 4 - there seem to be errant “ which push things along. If you don’t have these and are able to save a version of this without the misalignment, I would be very grateful.

Thanks

Hello @wendyross

This is my data view.

Best wishes Jens

Thank you. Are you able to save that and attach it? Is there a way I can understand why my opening didn’t work - I also open it in R but I tried Excel as well.

Hello @wendyross

I use data ← read.csv(“df.csv”) in R. How would you like the data to be saved?

I don’t usually read the data in with Excel. At least with the German version, it tends to alter the data structure and format in an unpredictable manner.

Best wishes Jens

Hi Jens

Thanks - when I have gone to open it today, it seems fine. Perhaps that is what you get for working on a Sunday! Thanks for looking.

If other people have the same problem when I opened and inspected the data in R, the columns are all aligned.

Thanks