R/privacy_check.R
privacy_check.Rd
Checks if files contain privacy sensitive data and moves them to a 'vault folder' if this is the case.
privacy_check( path = getwd(), vault = paste0(path, "/vault"), log_file = paste0(vault, "/_privacy_log.txt"), suspicious_cols = "(zip.*code|postcode|bsn|geboortedatum)" )
path to check
path to vault
path to log file where details will be written to
regular expression to match suspicious column names