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?
Matching firmsDear all, I am currently writing a code to capture the differences in earnings management between U…
Selecting the first variable without knowing it's nameHello all, I'm doing some big data cleaning for a lot of excel files, and I'm trying to figure out …
Panel data - first differences modelI am using panel data (world bank's world development indicators). Need to create a first difference…
how to compare the trend of risk ratios across age groups, between cases and controlsHi, I used binomial regression to calculate the risk ratio of outcomes (e.g. diabetes, renal failur…
Can't import 2011 India district shapefileWe need a 2011 India district shapefile (N=640 districts). I found a handful around the web (e.g., S…
Subscribe to:
Post Comments (Atom)
0 Response to Merging two files on multiple criteria and imperfect matching?
Post a Comment