1 Organize

The first step in data preparation is simply about organizing the raw data files so that we can more easily merge the data files using E-Merge.

Initially the data files are stored on separate computers along with the task program and stimulus materials. For each task we need to grab only the data files from each computer and put them into a single folder for that task.

Because we have many tasks and computers, manually doing this can be quite tedious and error prone.

I have created R scripts that you can run on each running room computer to copy the data files for each task to the Z drive.


In the running rooms

  1. Connect the computer to the internet

    Do this by plugging in the yellow ethernet cord

  2. Run the R script copy_to_zdrive located on the desktop by double-clicking on it and running the script in RStudio.

    The script file will open in RStudio. Click the ‘Source’ button at the top right of the script window. Output will be generated in the ‘Console’ window. Make sure the script is running and that it is completed before closing out.

  3. Unplug the computer from the internet

  4. Repeat steps 1-3 for each running room computer.