Hello,
I am new to Stata and this forum has been helpful to me. I have two databases that I am trying to merge based on CUSIP, which is KLD and Compustat. The problem arises when I look up into these CUSIP codes. For example, the database of KLD has shorter numbers than the database of Compustat. CUSIP in KLD database is 2444107 and the CUSIP in Compustat is 002444107. But I also see that this can be longer in the end: CUSIP KLD 00206R10 and Compustat 00206R102.
I would like to merge these data based on the CUSIP. How can I do this? Any suggestions?
Kind regards,
John
I am new to Stata and this forum has been helpful to me. I have two databases that I am trying to merge based on CUSIP, which is KLD and Compustat. The problem arises when I look up into these CUSIP codes. For example, the database of KLD has shorter numbers than the database of Compustat. CUSIP in KLD database is 2444107 and the CUSIP in Compustat is 002444107. But I also see that this can be longer in the end: CUSIP KLD 00206R10 and Compustat 00206R102.
I would like to merge these data based on the CUSIP. How can I do this? Any suggestions?
Kind regards,
John
Comment