Display randomly sampled information from (big) database | XM Community
Skip to main content

Hello everyone 🙂
I have a dataset containing 1000 descriptions of students. I would like to use Qualtrics to distribute these 1000 descriptions to 100 participants, such that each participant gets to see 10 students and rank them on some specified characteristics (using the 'Rank Order' question format).
Given the high amount of datapoints I would like to automate this as much as possible. If I could for instance load a CSV file into Qualtrics and then write some Javascript to randomly (without replacement!) load 10 datapoints from that file and display these to the participants, that would be great.
From what I've seen loading the data from a CSV file isn't possible though. I think I might have to use a call to a Web Service instead, but am not sure? Also, I don't really know how to tackle the problem of random sampling without replacement...

Though I have never worked with Web Services before, I'm not afraid of programming and willing to learn new solutions 🙂

Similar question was asked a while back, I think the solution was do-able. However, it may not work as smoothly with newer versions of Qualtrics.

Previous solution - https://community.qualtrics.com/XMcommunity/discussion/9317/randomization-without-replacement-reading-from-csv-file


Leave a Reply