obfuscateId | R Documentation |
ID aliases are pseudorandom sequences of alphanumeric upper case characters where the letter "O" is not included for readability.. User has the option of providing a character vector of aliases to avoid using.
obfuscateId(id, size = 10, existingIds = character(0))
id |
character vector of IDs to be obfuscated (alias creation). |
size |
character length of each alias |
existingIds |
character vector of existing aliases to avoid duplication. |
A named character vector of aliases where the name is the original ID value.
library(nprcgenekeepr)
integerIds <- 1:10
obfuscateId(integerIds, size = 4)
characterIds <- paste0(paste0(sample(LETTERS, 1, replace = FALSE)), 1:10)
obfuscateId(characterIds, size = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.