Description Usage Arguments Value
This function takes a named list of two dataframes, performs exact matching by specified ID field(s), and outputs a list of four dataframes: the original dataframes are split into ID matches and non-matches. The original dataframes would be rid of records that match in IDs. The additional dataframes of "id_match_A" and "id_match_B" would contain records with matches in ID in the respective input dataframes.
1 2 |
df_list |
A named list that contains two dataframes to check for ID matches. |
ids |
A vector of internal IDs to iterate for exact match extracts. Defaults to c("lVoterUniqueID", "sAffNumber"). |
dfA |
Name of the first snapshot in df_list for exact matching in IDs. Defaults to "mismatch_A". |
dfB |
Name of the second snapshot in df_list for exact matching in IDs. Defaults to "mismatch_B". |
the data frame with IDs corrected for
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.