Description Usage Arguments Value
This function takes a named list of two snapshots, performs exact matching by dplyr::inner_join, and outputs a list of three dataframes: the first dataframe contains records that are exact matches between the two dataframes. The second dataframe contains records that are only in the first snapshot. The third dataframe contains records that are only in the second snapshot. This is to take the load off record linkage when the snapshots are granular, such as daily snapshots.
1 | exact_match(df_list, dfA = "dfA", dfB = "dfB", exact_exclude = TRUE)
|
df_list |
A named list that contains two consecutive snapshots. |
dfA |
Name of the first snapshot in df_list for exact matching. Defaults to "dfA". |
dfB |
Name of the second snapshot in df_list for exact matching. Defaults to "dfB". |
exact_exclude |
Whether to actually perform this extraction. Defaults to TRUE. |
A list of three dataframes: exact_match, mismatch_A, and mismatch_B.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.