Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Reading in .csv files from external storage

Hi,

I am designing an online experiment where each participant will go through a unique sequence of trials. I currently have one .csv file per participant with their unique trial sequence, which makes it impossible for uploading via the file pool to use in an online experiment. I have seen other discussions on how to read in images and sounds from external sources and I was wondering if the same would be possible for .csv files. Specifically, I would like to be able to only load in 1 .csv file for each participant, without having to upload all files directly via the file pool.

Any help would be greatly appreciated!

Best,

Brent

Comments

  • Hi @Brent ,

    It is possible to read in external CSV files from a URL using an inline_javascript item. But it's quite complex and probably not necessary. Even if you have a lot of participants, adding all csv files to the file pool is probably still the easiest solution. Is there a specific reason you don't want to do that?

    — Sebastiaan

  • Hi @sebastiaan,

    Thanks for the quick reply.

    I initially had all files in the file pool, but this exceeded the recommended maximum size (Error: OSWebCompatibilityError).

    As I don't need all participant files to be loaded for every participant, I thought adding only the relevant files from an external source could be a solution.

    Brent

  • Hi @Brent ,

    You can disable the compatibility check in the OSWeb and JATOS control panel. As long as the experiment doesn't grow disproportionately large (say <50 Mb) it's ok, and it will make life much easier.

    — Sebastiaan

  • Hi @sebastiaan,

    This works, thanks for the help!

    Best,

    Brent

Sign In or Register to comment.