deselect_sensitive: Deselect sensitive columns

View source: R/anonymize.R

deselect_sensitiveR Documentation

Deselect sensitive columns

Description

This function will remove all the columns from a MOAS-like data.frame that are known to include possible sensitive information.

Usage

deselect_sensitive(data)

Arguments

data

The MOAS or a MOAS generated file.

Value

tibble

Examples

dt <- data.frame(ID = 1:3,
    Birth_Date = c("1997-01-12", "1984-01-01", "1953-09-16"),
   Comment = c("", "Has leukemia", "is on diazepam"),
   CVLT_A = c(19, 25, 29),
   stringsAsFactors = FALSE)
deselect_sensitive(dt)

LCBC-UiO/MOAS documentation built on Aug. 28, 2023, 3:29 a.m.