Hello dear forum members,
My data include roughly 1,200 *.txt files, where (a) * is a 3 to 7 digit non-consecutive number representing participant's id, and (b) the contents of the file is participant's response -- text ranging from 5 to 500 words.
What will be the code to create a single data file with column 1 = participant's id (i.e., * -- name of the file), and column 2 = content from that file.
Thankfully,
Anton
My data include roughly 1,200 *.txt files, where (a) * is a 3 to 7 digit non-consecutive number representing participant's id, and (b) the contents of the file is participant's response -- text ranging from 5 to 500 words.
What will be the code to create a single data file with column 1 = participant's id (i.e., * -- name of the file), and column 2 = content from that file.
Thankfully,
Anton