This R script was developed to “translate” movement log files from a navigation task (path integration) experiment into so-called 'event tables'. These event tables summarize the recorded movements and can be used for further analyses, for example, to synchronize movement logs with brain activity.
The script processes all CSV log files in a specified folder, classifies movement types, groups consecutive events, calculates onset, duration, and angles, and generates both individual and combined master event tables. Sample data are provided to test the script, though path adjustments are required. For more information, see the ReadMe file.