If there are subjects in the demographics.csv sheet that do not exist in the main data, the script returns unreadable .RData files and no .csv sheets. Fixed by deleting the subjects in the demographics sheet that are not present in the main data.
Possible fixes:
Simply reference this in documentation
Have the script loop through the actual data folders, rather than the demographics
If there are subjects in the
demographics.csv
sheet that do not exist in the main data, the script returns unreadable.RData
files and no.csv
sheets. Fixed by deleting the subjects in the demographics sheet that are not present in the main data.Possible fixes: