Description Usage Arguments Value Examples
View source: R/utility_functions.R
Deanonymize the anonymized columns in a data.frame. Also take a look at function anonymise.
1 | deanonymise(original_df, modified_df, cols_to_deanon, algo = "md5")
|
original_df |
A data.frame containing the original data. |
modified_df |
A data.frame containing the anonymized modified data. |
cols_to_deanon |
A character vector containing the column names to deanonymize. |
algo |
The algorithm which was used to anonymize data; currently available choices are md5, which is also the default, sha1, crc32, sha256, sha512, xxhash32, xxhash64, murmur32, spookyhash and blake3. |
A data.frame containing the deanonymized data.
1 2 3 | deanonymise(original_df = data.frame(col1 = c("val1", "val2", "val3"), col2 = c(3, 5, 7)),
modified_df = data.frame(col1 = c("b33fc2aa", "b33fc2aa", "2a369310"), col2 = c(8, 3, 9)),
cols_to_deanon = c("col1"), algo = "crc32")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.