Cleans a data.frame by redacting PII information from character vector columns
clean_data_frame.Rd
Cleans a data.frame by redacting PII information from character vector columns
Arguments
- df
A data.frame to clean
- spotters_list
A list containing lists of 3 elements each:
the redact function
hash_spotted value to pass or 0 to keep the default
the replace_with value or 0 to keep the default
Examples
df <- data.frame()
spotters <- list()
spotter_1 <- list(redact_email,TRUE,0)
spotters <- list(spotter_1)
df_cleaned <- clean_data_frame(df, spotters)