I'm trying to combine 2 or more rows of information into 1 row, because they are about the same firm's information, but different deals this firm involve
Some of my dataset is like this:
Code:
* Example generated by -dataex-. For more info, type help dataex clear input byte nbidder long apermno double dealnumber int(adate edate) long tpermno 2 22983 441066020 12771 12823 66069 2 36542 441283020 12598 13048 66069 end format %tdnn/dd/CCYY adate format %tdnn/dd/CCYY edate
Code:
* Example generated by -dataex-. For more info, type help dataex clear tpermno dealnumber1 adate1 edate1 apermno1 dealnumber2 adate2 edate2 apermno2 nbidder 66069 441066020 12771 12823 22983 66069 441283020 12598 13048 36542 end format %tdnn/dd/CCYY adate format %tdnn/dd/CCYY edate
Thanks a lot!
0 Response to How to combine 2 rows of data into 1 row_
Post a Comment