10 December 2022 3 678 Report

Hello,

I have a matrix of items from a psychological test that I would to convert to a dataset format, for instance .csv.

The format of the matrix is:

1: 2 2: 2 3: 2 4: 1 5: 2 6: 1 7: 2 8: 2 9: 1 10: 1, etc. The numbers before the ":" correspond to the item number, the number following corresponds to the response (1=yes; 2=no).

I need to create a csv file with two rows, the first being the item number, the second being the response. So it would be a really wide dataset since there are 567 items.

Anyone could give suggestions about the software that I could use to do this (or code, package, etc) ? I am adding the file as an attachment.

More David Joubert's questions See All
Similar questions and discussions