LucjanJanowski / translator-to-suJSON

Read subjective experiment data to suJSON format.
MIT License
2 stars 1 forks source link

suJSON to CSV conversion #6

Open slhck opened 5 years ago

slhck commented 5 years ago

For analyzing the data with Excel or R, you may want to go back from suJSON to a tidy CSV.

This would only be a view of the original data, of course, mostly ratings.

TODOs:

slhck commented 5 years ago

@lukedrum Once #11 is merged I or we can work on the export functions.

lukedrum commented 5 years ago

Sure! We can do it. What kind of output format do we need? Tidy data format?

ID Subject Score PVS SRC HRC
1 1 5.0 src1_hrc1.jpg 1 1
2 1 3.5 src2_hrc1.jpg 2 1
3 2 4.0 src1_hrc1.jpg 1 1
4 3 3.5 src2_hrc2.jpg 2 2
slhck commented 5 years ago

Yes, that would be one possible format! The ID is not needed though, I think (use index=False for pd.write_csv). I would start with that!