Generate Random Identifiers

Generate random or human readable and pronounceable identifiers.


Project Status: Active - The project has reached a stable, usable state and is being actively developed. Linux Build Status codecov.io

Generate random identifiers in a number of styles:

  • random ids of any number of bytes, such as 31f6d556fe2b303c
  • UUIDs using the uuid package, such as 4f0efabf-0375-4a08-89ea-b8f162f07c44
  • human readable identifiers in the style <adjective>_<animal> (following gfycat.com), such as misanthropic_lungfish
  • human readable identifiers in the style of a sentence (following Asana, such as 33_enormous_chinchillas_tumbling_elegantly
  • proquint ("PRO-nouncable QUINT-uplet") idenfiers such as dizuz-soboz (which can be convereted to an integer such as 40,2638,895)

These can all be tweaked with options for length, words that are used, and the case that joins words. There is a function ids for creating your own human readable identifiers.

Installation

Install this package from CRAN

install.packages("ids")

or install the development version with

remotes::install_github("richfitz/ids", upgrade = FALSE)

News

ids 1.1.0 (2017-05-22)

  • Fix occasionally failing text (removes one animal from the pool)
  • New identifier type "proquint"

ids 1.0.0 (2016-11-03)

  • Initial CRAN release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ids")

1.0.1 by Rich FitzJohn, 9 months ago


https://github.com/richfitz/ids


Report a bug at https://github.com/richfitz/ids/issues


Browse source code at https://github.com/cran/ids


Authors: Rich FitzJohn [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports openssl, uuid

Suggests knitr, rcorpora, rmarkdown, testthat


See at CRAN