I have data from different sources, some use names for a country and other sources use different name. Such as Hong Kong and Hong Kong, China. I merged the data but I have the two countries separate with different IDs. I want to merge both together in one ID and unify the name to be Hong Kong and merge all the variables together under this name. Thanks for helping.
Related Posts with Unifying country names when merging data
How to create dummy variable with condition that it needs to have 3 observation in 5 years?I have a question how to create a dummy variable with certain conditions. I know how to create a dum…
Birth CohortsHi statalist! I would like to make birth cohorts (5 years gap and above 25 years old adult). I have…
Getting the underlying data from LROCI have run a probit model and then used the command -lroc to draw a ROC curve. I want to extract the…
Calculating changes in a variable over irregular intervals when a condition is met in grouped dataI've been calculating changes in GDP in countries for adjacent quarters (gen ch_gdp =gdp_quart-gdp_q…
Herfindahl-Hirschman Index, command ignores existing valuesHello! I am a PhD student in International Business and Economics. I am studying MNEs. I would like…
Subscribe to:
Post Comments (Atom)
0 Response to Unifying country names when merging data
Post a Comment