Hi everyone,
As I am new to using stata I have come up with a Problem which I do not find a solution for. Hopefully someone of you can help me with it.
I have the following list
date isin
12/12/2013 XC0009699965
12/12/2013 NL0009699965
03/04/2016 XC0009667890
03/11/2016 US0009619067
03/29/2016 NL0009699965
06/08/2016 XC0009699965
For each isin I want to create a variable with the respective names "get_XC0009699965" "get_NL0009699965" "get_XC0009667890" and so on. My actual list contains about 2000 different isins which makes the programming even harder for me.
Is there a way that stata runs through all isins and creates a new variable for each isin (only one variable per isin - no duplicates)?
Thank you very much!
Nina
As I am new to using stata I have come up with a Problem which I do not find a solution for. Hopefully someone of you can help me with it.
I have the following list
date isin
12/12/2013 XC0009699965
12/12/2013 NL0009699965
03/04/2016 XC0009667890
03/11/2016 US0009619067
03/29/2016 NL0009699965
06/08/2016 XC0009699965
For each isin I want to create a variable with the respective names "get_XC0009699965" "get_NL0009699965" "get_XC0009667890" and so on. My actual list contains about 2000 different isins which makes the programming even harder for me.
Is there a way that stata runs through all isins and creates a new variable for each isin (only one variable per isin - no duplicates)?
Thank you very much!
Nina
Comment