detect: Detect if a data object contains PII.

Description Usage Arguments Value Methods (by class) Examples

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)

  • default: Method for default vectors.

  • character: Method for character vectors.

  • data.frame: Method for data.frames.

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)


Search within the detector package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.