Description Usage Arguments Value
De-identify data through encrypting text columns, grouping rare values, and, aggregating numeric or date columns.
1 2 3 4 5 6 7 8 9 10 |
data |
A data.frame with the data you want to de-identify. |
date_cols |
A vector of strings with the name of date columns that you want to be aggregated
to the unit set in the |
date_aggregation |
A string with the time unit to aggregate all Date variables to. Can take one of the following: 'week', 'month', 'bimonth', 'quarter', 'halfyear', 'year'. |
cols_to_encrypt |
A string or vector of strings with the columns that you want to encrypt. |
group_rare_values_cols |
A string or vector of strings with the columns that you want to convert
rare values (below a certain percent of all values as set in
|
group_rare_values_limit |
A string or vector of strings (one for each col in |
group_rare_values_text |
A string or vector of strings (one for each col in |
quiet |
A Boolean for whether you want to output a message that tells you which columns that you are encrypting and the seed set for each column to do the encryption. If you don't set the seed yourself, you need these seeds to decrypt. |
A data.frame with the selected columns de-identify based on user parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.