Generate random identifiers in a number of styles:
- random ids of any number of bytes, such as
31f6d556fe2b303c
withids::random_id
- UUIDs using the
uuid
package, such as4f0efabf-0375-4a08-89ea-b8f162f07c44
withids::uuid
- human readable identifiers in the style
<adjective>_<animal>
(following gfycat.com), such asmisanthropic_lungfish
withids::adjective_animal
- human readable identifiers in the style of a sentence (following Asana, such as
33_enormous_chinchillas_tumbling_elegantly
withids::sentence
- proquint ("PRO-nouncable QUINT-uplet") identifiers such as
dizuz-soboz
(which can be converted to an integer such as 40,2638,895) withids::proquint
These can all be tweaked with options for length, words that are used, and the case that joins words. There is a function ids::ids
for creating your own human readable identifiers.
Install this package from CRAN
install.packages("ids")
or install the development version with
remotes::install_github("reside-ic/ids", upgrade = FALSE)