deidentify_data()
based on
a row (or rows) in the output of deidentify_choices_table()
.R/tables.R
get_choices_code.Rd
This function takes the output of the deidentify_choices_table()
function and
a row number or vector of row numbers and outputs the code that you will
use to deidentify the data. NOTE: this function will not have any code to
encrypt any columns so you must input that yourself.
get_choices_code(deidentify_choices_table, row_number, data_name = "data")
deidentify_choices_table | A data.frame returned from the |
---|---|
row_number | A number or vector of numbers for the row(s) that you want to output code for |
data_name | A string with the name of the data object you want to deidentify. This should
be the same data you inputted in |
Prints in the console the code to use for the deidentify_data()
function. Also returns
this string invisibly.