Description Usage Arguments Value Examples
View source: R/utility_functions.R
Anonymize given columns in a data.frame. Also take a look at function deanonymise.
1 | anonymise(original_df, cols_to_anon, algo = "md5")
|
original_df |
A data.frame containing the original data. |
cols_to_anon |
A character vector containing the column names to anonymize. |
algo |
The algorithms to be 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 anonymized data.
1 2 | anonymise(original_df = data.frame(col1 = c("val1", "val2", "val3"), col2 = c(3, 5, 7)),
cols_to_anon = c("col1"), algo = "crc32")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.