Dear Friends
I have following two datasets
Dataset 1 with 2 rows
Data set 2 with 5 rows
I want the resultant dataset to be 2x5 = 10 rows for the household
Data set 1.
OBVS1ID HHID PersonID PersonCharacteristcis
25 1 1
26 1 2 .....Matrix(X1)
Data set 2 (from Census)
OBVS2ID HHID PersonID Person&other_characteristics
A21 1 1
A22 1 2
A23 1 3 .....Matrix(X2)
A24 1 4
A25 1 5
Resultant data set
OBVS1ID OBVS2ID HHID PersonID1 PersonID2 Person_charac
Person& other charac
25 A21 1 1 1
25 A22 1 1 2
25 A23 1 1 3
25 A24 1 1 4
25 A25 1 1 5
26 A21 1 2 1
26 A22 1 2 2
26 A23 1 2 3
26 A24 1 2 4
26 A25 1 2 5
I think what you want is -joinby-