View source: R/voter_file_utils.R
dedupe_voter_file | R Documentation |
Currently, this function removes all but the latest entries in a voter file according to voter ID. This assumes the voter file is sorted by voter ID chronologically.
dedupe_voter_file(voter_file, voter_id = "voter_id")
voter_file |
The voter file, as a data frame or tibble. |
voter_id |
The column denoting the voter ID. |
This function can be updated with more functionality to handle edge cases.
The voter file with duplicates removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.