Description Usage Arguments Details Value Examples
Takes two data.frame objects with patient information and matches them
1 | match_MRNs(x, y)
|
x, y |
Two data frames with columns 'mrn', 'first_name', 'last_name', and 'birth_date' (yyyy-mm-dd) |
The function cleans up the last names slightly and then matches exactly
on the cleaned up last names and the birth dates. Then fuzzy matching is done
on the first name, using the stringdist
package.
A data.frame with column names with suffixes '_x' and '_y' corresponding to the x and y inputs. The dist column gives the string distance between the two first names.
1 2 3 4 | data(x_EMR)
data(y_EMR)
match_MRNs(x_EMR, y_EMR)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.