detect {detector} | R Documentation |
Detect if a data object contains PII.
Description
Detect if a data object contains PII.
Usage
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
# atomic vectors
detect(letters)
detect(1:10)
detect(as.Date("2014-01-01"))
# data.frames
detect(mtcars)
[Package detector version 0.1.0 Index]