Skip to content
Discussion options

You must be logged in to vote

Hi @Sivileo, this is a little hard to explain without some example code to work with, so feel free to post a minimal example if you have one.

I think you're on the right track with the approach you suggested. My general approach would be to:

  1. Filter the jsPsych data after the first part and before the second part, based on some unique properties in the data that select for the ratings trials. Usually the easiest way to do this is to put a flag in the data for the trial so that you can filter based on that, e.g.
var rating_trial = {
  // other trial parameters...
  data: {task_part: 'rating'}
};

// then, after part 1, you can filter the data to get all of the image ratings:
var ratings_t…

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@becky-gilbert
Comment options

@moramaldonado
Comment options

@becky-gilbert
Comment options

@moramaldonado
Comment options

@becky-gilbert
Comment options

Answer selected by becky-gilbert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants