Hello,
I need to merge two datasets, each of which have two variables that together identify a country pair: e.g. country1=="USA"and country2=="CAN". My issue is that I need them merged regardless of the whether they appear like this or in reverse, i.e. country1=="CAN" and country2=="USA".
I played around creating a single identifier variable, but I couldn't figure it out.
Any ideas will be greatly appreciated!
I need to merge two datasets, each of which have two variables that together identify a country pair: e.g. country1=="USA"and country2=="CAN". My issue is that I need them merged regardless of the whether they appear like this or in reverse, i.e. country1=="CAN" and country2=="USA".
I played around creating a single identifier variable, but I couldn't figure it out.
Any ideas will be greatly appreciated!
Comment