sensitive_columns: Search column names for words often used in senstive...

Description Usage Arguments Details Value

Description

Search column names for words often used in senstive variables

Usage

1
sensitive_columns(data, i.know.this.check.is.insufficient = F)

Arguments

data

a dataframe

i.know.this.check.is.insufficient

optional: if not set to TRUE, this function throws a warning.

Details

Searches column headers for keywords "gps", "phone","latitude", "longitude" and "phone" (not case sensitive) WARNING: this check is rudimentary and does not suffice in any way to insure protection of sensitive information.

Value

A dataframe with one row per potential issue. It has columns for the corresponding row index in the original data; the suspicious value; the variable name in the original dataset in which the suspicious value occured; A description of the issue type.


ellieallien/cleaninginspectoR documentation built on July 18, 2019, 12:30 p.m.