from_yaml: Restore a serialized deident from file

View source: R/from_yaml.R

from_yamlR Documentation

Restore a serialized deident from file

Description

Restore a serialized deident from file

Usage

from_yaml(path)

Arguments

path

Path to serialized deident.

Examples


deident <- deident(ShiftsWorked, Pseudonymizer, Employee)
.tempfile <- tempfile(fileext = ".yml")
deident$to_yaml(.tempfile)

deident.yaml <- from_yaml(.tempfile)
deident.yaml$mutate(ShiftsWorked)


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