Dear All, I found this question here (http://bbs.pinggu.org/forum.php?mod=...=1#pid51949480). Suppose that the data is
and wish to re-formulate the data to be
Any suggestion is highly appreciated.
Code:
clear input str8 name str4 year str12 gender str10 origins "A,B,C" "2015" "M,F,M" "AL,CA,FL" "D,E" "2016" "M,F" "HI,IL" end
Code:
clear input str8 name str4 year str12 gender str10 origins "A" "2015" "M" "AL" "B" "2015" "F" "CA" "C" "2015" "M" "FL" "D" "2016" "M" "HI" "E" "2016" "F" "HI" end
Comment