Currently, I have a survey dataset containing 62 variables. Last week, I was focusing on 5 variables. That do file has about 130 lines. This week, I am focusing on some other variables. This new do file has nearly 100 lines. Now, I need one variable (only one var) from last week do file into this week do file. This one var I need is not from original dataset.
So I have 2 methods. First, I can just copy and paste codes from last week do file into this week do file. Another method is using merge.
Can any senior researchers tell me which method is better? Also, how to merge in this case (I mean I just need one var)?
Many thanks in advance!
So I have 2 methods. First, I can just copy and paste codes from last week do file into this week do file. Another method is using merge.
Can any senior researchers tell me which method is better? Also, how to merge in this case (I mean I just need one var)?
Many thanks in advance!
Comment