BaseDeident: Base class for all De-identifier classes

BaseDeidentR Documentation

Base class for all De-identifier classes

Description

Create new Deidentifier object

Setter for 'method' field

Save 'Deidentifier' to serialized object.

Apply 'method' to a vector of values

Apply 'method' to variables in a data frame

Apply 'mutate' method to an aggregated data frame.

Aggregate a data frame and apply 'mutate' to each.

Convert self to a list

String representation of self

Check if parameters are in allowed fields

Arguments

method

New function to be used as the method.

location

File path to save to.

keys

Vector of values to be processed

force

Perform transformation on all variables even if some given are not in the data.

grouped_data

a 'grouped_df' object

data

A data frame to be manipulated

grp_cols

Vector of variables in 'data' to group on.

mutate_cols

Vector of variables in 'data' to transform.

type

character vector describing the object. Defaults to class.

...

Options to check exist

Fields

method

Function to call for data transform.


deident documentation built on April 3, 2025, 6:14 p.m.