Generic id generating function
ids(
n,
...,
vals = list(...),
style = "snake",
global = TRUE,
use_openssl = FALSE
)
number of ids to return. If NULL
, it instead returns
the generating function
A number of character vectors
A list of character vectors, instead of ...
Style to join words with. Can be one of "Pascal", "camel", "snake", "kebab", "dot", "title", "sentence", "lower", "upper", "constant" or "spongemock"
Use global random number generator that responds to
set.seed
(see random_id for details, but
note that the default here is different).
Use openssl for random number generation when using a non-global generator (see random_id for details)
Either a character vector of length n
, or a function of
one argument if n
is NULL
# For an example, please see the vignette