Hi, I have two data files I want to merge. The issue is I don't have an ID column shared by both files. Instead, I want to merge based off other criteria like matching email addresses.
How could I merge with the following rules:
if two email addresses match, the records match.
Otherwise, if the name and date of birth match, it's a match.
Also, how could I account for differences in names such as "David" and "Dave"?
Would the merge command work in this situation?
Related Posts with Merging two files on multiple criteria and imperfect matching?
intervals difference of variablesGood morning everyone, Please how to get 5 year intervals difference of variables from panel in stat…
Controlling for time specific effectI have a dataset with 800 crowdfunded technological projects (each of which crowdfunded in a particu…
Regression based on two conditions in opposite directionsHello! I am uncertain on how to measure the right thing for the paper I'm writing. I am researching…
Stata command for three interactions variables.Dear Statalist member, Good day everyone. I am using Stata 14.1. Here is the sample of my data. I a…
Multiple Imputation-Incomplete values need to be imputed Im running an nbreg on CysC is the outcome. I have a key variables: Race, age, sex, diabetes, smoki…
Subscribe to:
Post Comments (Atom)
0 Response to Merging two files on multiple criteria and imperfect matching?
Post a Comment