select_sensitive: Select sensitive columns

View source: R/anonymize.R

select_sensitiveR Documentation

Select sensitive columns

Description

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

Usage

select_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)
select_sensitive(dt)

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