All functions

deidentify_choices_table()

Make a data.frame showing either the outcome (k-score) of all possible de-identify choices or only those that meet a certain k-score threshold.

deidentify_data()

De-identify data through encrypting text columns, grouping rare values, and, aggregating numeric or date columns.

deidentify_text()

methods to deidentify different forms of data

gen_aes_key()

Generate aes or libsodium key

gen_sodium_key()

Generate sodium key

get_choices_code()

Produces the code to deidentify the data using deidentify_data() based on a row (or rows) in the output of deidentify_choices_table().

graph_aggregate_dates()

Create a barplot showing the number of unique dates at each level of aggregation

graph_group_rare_values()

Graph effect of dropping "rare" values from a vector of data

initiations

Cook County Initiations Data

make_deidentify_choices_report()

Produce a PDF showing tables of possible de-identification choices, choices that meet a set parameter, and graphs of each decision for individual variables.

make_k_score()

Make k score out of de-identified data