Learn R Programming

detector (version 0.1.0)

detect: Detect if a data object contains PII.

Description

Detect if a data object contains PII.

Usage

detect(.x)
"detect"(.x)
"detect"(.x)
"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

Run this code
# atomic vectors
detect(letters)
detect(1:10)
detect(as.Date("2014-01-01"))

# data.frames
detect(mtcars)

Run the code above in your browser using DataLab