I am working in a little project in R and I need to mask or encrypt the names in a variable in a data frame. I have the next structure for my data frame:
Name Value.R
Bank of Italy 200
Josh Peters 300
Fist Bank of Americas 500
Neil Rodes 520
Oil Team World 700
I am looking for a way to protect the names in name
variable, something like this:
Name Value.R
BXXk of IXXXy 200
JXXh PXXXrs 300
FXXt BXXk of AmXXXcas 500
NXXl RXXes 520
OXl TXXm WXXld 700
I don't if it is possible to make in R. Thanks for your help.