Hi Everyone,
I am having trouble on keeping only the two-way matched data.This is the data I have were hhid_1 has some link with hhid_2, but I want to keep only those value which have two-way link that is values in hhid_2 which will eventually comes in hhid_1.
So, would really appreciate if I would get some help on ways to keep the data that has two-way relationship.
hhid_1 hhid_2
10208019 10202001
10208025 10202001
10208047 10202001
10208039 10202001
10208006 10202001
10208024 10202001
10208029 10202001
10208018 10202001
10208004 10202004
10208019 10202004
10208010 10202004
10208043 10202004
10208017 10202004
I am having trouble on keeping only the two-way matched data.This is the data I have were hhid_1 has some link with hhid_2, but I want to keep only those value which have two-way link that is values in hhid_2 which will eventually comes in hhid_1.
So, would really appreciate if I would get some help on ways to keep the data that has two-way relationship.
hhid_1 hhid_2
10208019 10202001
10208025 10202001
10208047 10202001
10208039 10202001
10208006 10202001
10208024 10202001
10208029 10202001
10208018 10202001
10208004 10202004
10208019 10202004
10208010 10202004
10208043 10202004
10208017 10202004
Comment