This function reads all VRthreat output data from one study into a data frame. The

read_study_data(rawpath, metapath)

Arguments

rawpath

The path that contains the individual subjects' directories. The path name may have been changed during data curation, and the original top-level directory name in the VR output will be replaced by this path.

metapath

The path that contains the meta data. This must contain the following 4 csv files: replacements.csv, participants_excluded.csv, episodes_info.csv, threats_info.csv

Value

A data frame with all experiment data