https://github.com/reside-ic/ids
:information_source: Simple random identifiers
https://github.com/reside-ic/ids
Last synced: 5 months ago
JSON representation
:information_source: Simple random identifiers
- Host: GitHub
- URL: https://github.com/reside-ic/ids
- Owner: reside-ic
- License: other
- Created: 2015-09-15T12:54:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-12-03T12:43:25.000Z (over 3 years ago)
- Last Synced: 2024-11-09T18:47:40.872Z (6 months ago)
- Language: R
- Homepage: https://reside-ic.github.io/ids
- Size: 503 KB
- Stars: 93
- Watchers: 3
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - reside-ic/ids - :information_source: Simple random identifiers (R)
README
# ids
[](http://www.repostatus.org/#active) [](https://github.com/richfitz/ids/actions)
[](https://www.codefactor.io/repository/github/reside-ic/ids)
[](https://codecov.io/github/reside-ic/ids?branch=master)
[](https://cran.r-project.org/package=ids)Generate random identifiers in a number of styles:
* random ids of any number of bytes, such as `31f6d556fe2b303c` with `ids::random_id`
* UUIDs using the `uuid` package, such as `4f0efabf-0375-4a08-89ea-b8f162f07c44` with `ids::uuid`
* human readable identifiers in the style `_` (following [gfycat.com](http://gfycat.com)), such as `misanthropic_lungfish` with `ids::adjective_animal`
* human readable identifiers in the style of a sentence (following [Asana](https://blog.asana.com/2011/09/6-sad-squid-snuggle-softly), such as `33_enormous_chinchillas_tumbling_elegantly` with `ids::sentence`
* [proquint](https://arxiv.org/html/0901.4016) ("PRO-nouncable QUINT-uplet") identifiers such as `dizuz-soboz` (which can be converted to an integer such as 40,2638,895) with `ids::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.
## Installation
Install this package from CRAN
```r
install.packages("ids")
```or install the development version with
```r
remotes::install_github("reside-ic/ids", upgrade = FALSE)
```