Hello! I am seeking your help with the following task. My data set (example given below) consists of comments (string) identified by listing_id and month. What would be the appropriate way of combining (appending) all comments for a given listing_id by month?
Thankfully,
Anton
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input long listing_id strL comments byte month 2515 "A" 1 2515 "B" 1 2515 "C" 2 2515 "D" 4 2515 "E" 4 2515 "F" 5 2515 "G" 6 2515 "H" 6 2515 "I" 7 2515 "J" 7 2515 "K" 7 2515 "L" 7 2515 "M" 8 2515 "N" 8 2515 "O" 9 2515 "P" 10 2515 "Q" 11 2515 "R" 11 2539 "S" 12 2595 "T" 3 2595 "U" 4 2595 "V" 5 2595 "W" 9 2595 "X" 9 3330 "Y" 1 3330 "Z" 4 3330 "AA" 4 3330 "BB" 5 3330 "CC" 5 3330 "DD" 9 3330 "EE" 10 3330 "FF" 12 3831 "GG" 1 3831 "HH" 5 3831 "II" 7 3831 "JJ" 8 3831 "KK" 8 3831 "LL" 8 3831 "MM" 8 end
Anton
Comment