detect: Detect if a data object contains PII.

Description Usage Arguments Value Methods (by class) Examples

View source: R/detect.R

Description

Detect if a data object contains PII.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
detect(.x)

## Default S3 method:
detect(.x)

## S3 method for class 'character'
detect(.x)

## S3 method for class 'data.frame'
detect(.x)

Arguments

.x

A data object.

Value

A logical value indicating if that data object contains PII.

Methods (by class)

Examples

1
2
3
4
5
6
7
# atomic vectors
detect(letters)
detect(1:10)
detect(as.Date("2014-01-01"))

# data.frames
detect(mtcars)

detector documentation built on May 29, 2017, 11:48 p.m.