privacy_check: Check Privacy of Plain Files

View source: R/privacy_check.R

privacy_checkR Documentation

Check Privacy of Plain Files

Description

Checks if files contain privacy sensitive data and moves them to a 'vault folder' if this is the case.

Usage

privacy_check(
  path = getwd(),
  vault = paste0(path, "/vault"),
  log_file = paste0(vault, "/_privacy_log.txt"),
  suspicious_cols = "(zip.*code|postcode|bsn|geboortedatum)"
)

Arguments

path

path to check

vault

path to vault

log_file

path to log file where details will be written to

suspicious_cols

regular expression to match suspicious column names


certe-medical-epidemiology/certetoolbox documentation built on April 17, 2025, 3:24 a.m.