new_deident: Deidentification API root

View source: R/api.R

new_deidentR Documentation

Deidentification API root

Description

A general function for defining a deident function.

Usage

new_deident(object, ..., encrypter)

Arguments

object

Either a data.frame, tibble, or existing DeidentList pipeline.

...

variables to be transformed.

Value

A 'DeidentList' representing the untrained transformation pipeline. The object contains fields:

  • deident_methods a list of each step in the pipeline (consisting of variables and method)

and methods:

  • mutate apply the pipeline to a new data set

  • to_yaml serialize the pipeline to a '.yml' file


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