Hi,
I have two datasets: (1) children_mothers and (2) mothers_info
My first dataset, children_mothers looks like this:
ID_children ID_mother
1 1
2 1
3 2
4 3
and so on, it is a dataset of unique child-mother pairs.
My second dataset has panel information about mothers from years 1990-2011. I want to merge the information to the first dataset based upon ID_mothers.
However, when I tried merge m:m, it does not seem to work and only merges the information for the first child rather than repeating that information for the second child with the same mother.
Any ideas on how to overcome this?
Maybe the problem is that my first dataset is not a panel and my second one is?
Thanks for any help!
Surya
I have two datasets: (1) children_mothers and (2) mothers_info
My first dataset, children_mothers looks like this:
ID_children ID_mother
1 1
2 1
3 2
4 3
and so on, it is a dataset of unique child-mother pairs.
My second dataset has panel information about mothers from years 1990-2011. I want to merge the information to the first dataset based upon ID_mothers.
However, when I tried merge m:m, it does not seem to work and only merges the information for the first child rather than repeating that information for the second child with the same mother.
Any ideas on how to overcome this?
Maybe the problem is that my first dataset is not a panel and my second one is?
Thanks for any help!
Surya
Comment