implement_deletion_log: Implement Deletion Log

View source: R/implement_deletion_log.R

implement_deletion_logR Documentation

Implement Deletion Log

Description

Will delete records from a dataframe according to a REACH style deletion log.

Usage

implement_deletion_log(df, deletion_log, uuid_col)

Arguments

df

Inputs the dataframe with records to be deleted.

deletion_log

Inputs the REACH style deletion log, indicating which records to be deleted. Must have a 'uuid' named column.

uuid_col

Inputs a character value specifying the column name of the dataframe with the unique identifier which matches the deletion log uuid column.

Value

Returns a dataframe without the deleted records.

Examples

## Not run: implement_deletion_log(df = mydata, deletion_log = my_deletion_log, uuid_col = "my_hh_id")

SaeedR1987/healthyr documentation built on July 4, 2023, 11:17 p.m.