View source: R/class_maf_data_pool.R
maf_data_pool_make_name_unique | R Documentation |
Checks if a name is unique in a given data pool.
If not, the function will append 15 letters randomly to the name until it finds a unique name, or surpasses max_number_of_attempts
.
Will throw an error if it can't find a unique name
maf_data_pool_make_name_unique(
maf_data_pool,
name,
max_number_of_attempts = 50
)
maf_data_pool |
The data pool of interest (maf_data_pool) |
name |
name to make unique (string) |
max_number_of_attempts |
max number of attempts (whole number) |
a unique name (string)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.