Dear stata-community,
in the context of a research project using the gravity model of trade I am having difficulties to merge two datassets.
this is an example of a line from each dataset:
Dataset 1 (https://vi.unctad.org/tpa/web/vol2/vol2home.html) Chapter1Application1
tradeflows among countries 1986-2006
(ARG DEU and DEU ARG are having the same pair_id btw)
Dataset 2 (https://www.usitc.gov/data/dicl.htm)
index measuring linguistic similarity

how can i merge both cells into one under the condition that they are the same pair of countries
ARG-DEU and DEU-ARG should have the same linguistic similarity values added in the cells ?
Dataset 2 also offers many country pairs that do not occur in dataset 1 and should therefore also be deleted when merging.

i hope you can help me merge the data since I did not get any further using the stata mask above either.
regards Marvin
in the context of a research project using the gravity model of trade I am having difficulties to merge two datassets.
this is an example of a line from each dataset:
Dataset 1 (https://vi.unctad.org/tpa/web/vol2/vol2home.html) Chapter1Application1
tradeflows among countries 1986-2006
(ARG DEU and DEU ARG are having the same pair_id btw)
Dataset 2 (https://www.usitc.gov/data/dicl.htm)
index measuring linguistic similarity
how can i merge both cells into one under the condition that they are the same pair of countries
ARG-DEU and DEU-ARG should have the same linguistic similarity values added in the cells ?
Dataset 2 also offers many country pairs that do not occur in dataset 1 and should therefore also be deleted when merging.
i hope you can help me merge the data since I did not get any further using the stata mask above either.
regards Marvin
Comment