Would a rose by any procedurally generated name still smell as sweet?
The goal of proceduralnames is to make it easy to quickly generate unique-enough identifier strings for easy differentiation of objects or observations.
If the CRAN badge above is green, you can install the released version of proceduralnames from CRAN with:
You can always install the development version of proceduralnames from GitHub via:
At the moment, proceduralnames provides three user-facing functions:
make_docker_names makes names in the same way Docker generates names
for its containers:
library(proceduralnames) make_docker_names(1) #>  "admiring_knuth"
make_spanish_names both generate names using
a subset of the 1,000 most common words in English or Spanish,
make_english_names(1) #>  "ready_good_original" make_spanish_names(1) #>  "libros_siguiente_ayer"
All three functions can be used to generate multiple names by providing
a different number to the
make_spanish_names both have an argument,
n_words, which can be used
to alter the number of words combined for each name. All three functions
also have an argument,
retry (named after the argument used in
generating Docker container names) which will append a random integer
between 1 and 10 to the end of each name:
make_docker_names(1, retry = TRUE) #>  "loving_hawking5"
In addition to these functions, proceduralnames provides the data sets
each function draws from (namely,
spanish_words). These data may evolve with each
release of the package, so try not to depend on the length and contents
of each vector remaining constant, but the fundamental shape of each
object will remain stable.
Note that the emphasis of this package is on generating human-readable identifiers, not necessarily universally unique strings. If you need strings which are functionally universally unique for your application, look into the uuid package.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.