Dear all,
I am working with a wonderful dataset, which includes both data on ego and on his/her top 5 friends. You are supposed to link data by using the ID number that is given in the 'bestfriend1', 'bestfriend2' etc variables. (Ego nominates 5 friends in class, most of them have also filled in the questionnaire)
I tried to use merge to include data of friends in the main dataset, but it didn't work.. "not able to uniquely identify cases".
There is probably an easy solution to this problem. Unfortunately I am struggling to find it.
Could you maybe help me?
Thanks a lot,
Lara
I am working with a wonderful dataset, which includes both data on ego and on his/her top 5 friends. You are supposed to link data by using the ID number that is given in the 'bestfriend1', 'bestfriend2' etc variables. (Ego nominates 5 friends in class, most of them have also filled in the questionnaire)
I tried to use merge to include data of friends in the main dataset, but it didn't work.. "not able to uniquely identify cases".
There is probably an easy solution to this problem. Unfortunately I am struggling to find it.
Could you maybe help me?
Thanks a lot,
Lara
Comment