This function reads in and processes a series of CSV files exported from Qualtrics. It assumes the first two rows of each file contain metadata and not actual data.
Arguments
- data_files
A character vector of file paths to the CSV files to be processed.
- rename_files
Logical. If TRUE, the data and labels for each file will be saved under a new name based on the original file name. Default is FALSE.
- new_names
A character vector of new names for the files. This should be the same length as data_files. If NULL and rename_files is TRUE, new names will be generated by removing the timestamp and anything before it from the original file name. Default is NULL.