Pseudonymizer {deident} | R Documentation |
R6 class for deidentification via replacement
Description
A Deident
class dealing with the (repeatable) random replacement of
string for deidentification.
Create new Pseudonymizer
object
Check if a key exists in lookup
Check if a key exists in lookup
Retrieve a value from lookup
Returns self$lookup
formatted as a tibble
Convert self
to a list.
Apply the deidentifcation method to the supplied keys
Arguments
lookup |
a pre-existing name-value pair to define intended psuedonymizations. Instances of 'name' will be replaced with 'value' on transformation. |
keys |
value to be checked |
... |
values to concatenate to |
parse_numerics |
True: Force columns to characters. NB: only character vectors will be parsed. |
Fields
lookup
list of mapping from key-value on transform.
[Package deident version 1.0.0 Index]