Re: merge IR and KR: duplicate line number in IR [message #23359 is a reply to message #23357] |
Fri, 27 August 2021 16:26 |
schoumaker
Messages: 66 Registered: May 2013 Location: Belgium
|
Senior Member |
|
|
Hello,
I looked at the Bolivia file. It seems the v002 variable is indeed always equal to 1. Maybe a dwelling variable was used for creating the caseid and not available in the data set.
I think you can just use the caseid variable (the woman's id) that is available in the IR and the KR file to merge these two files. It seems to work in Bolivia, but I did not check in the other countries.
Best,
Bruno
***
use BOIR01FL.DTA, clear
merge 1:m caseid using BOKR01FL.DTA
***
Bruno Schoumaker
Centre for Demographic Research
Université catholique de Louvain
[Updated on: Fri, 27 August 2021 16:45] Report message to a moderator
|
|
|