Saving Data JATOS
I have a HTML5 intentional binding experiment that I am currenting trying to get on JATOS. I am bit new to this, and cant figure out how to send the data to the server. Would the JATOS code to push the data go in the main HTML file or the .js files? The webclock.js file is where the data is being collected, but trying to convert that data to CSV does not seem to be working. Any help would be greatly appreciated.
Thanks,
Jason
.
Comments
Hi Jason,
A few things:
The following two pages from the docs might help
Best
Elisa
Hi Elisa,
Thanks for getting back so quickly!
I have it set up on JATOS and it runs--I just cant get it to send the data after it is done (I have attached the JATOS experiment (I had to zip the jzip file). The version I am using has been used online before (https://www.nature.com/articles/srep32689).
I should add I added the additional lines in my HTML header as suggested by the site
Try with this line instead:
And I tried your study and got an error that 'results' is not defined at this location:
And then I looked a bit around in your experiment. I cannot say I understand the whole code, but in labclock.js is a function
storeExperimentData. It seems to do sending of result data. Maybe this is the point were you can change the code to send your result data to JATOS instead?Best,
Kristain
Thanks! I will give this a try!