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

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)
#> ID CVLT_A #> 1 1 19 #> 2 2 25 #> 3 3 29