Title: | What the Package Does (One Line, Title Case) |
---|---|
Description: | What the package does (one paragraph). |
Authors: | Josiah Parry [aut, cre] |
Maintainer: | Josiah Parry <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.0.0.9000 |
Built: | 2024-10-27 05:49:52 UTC |
Source: | https://github.com/josiahparry/uwu |
What the package does (one paragraph).
Maintainer: Josiah Parry [email protected] (ORCID)
This function imputes a v4 UUID by refernce into a character vector. Be careful. This operation cannot be undone!
impute_uuid(x, prefix = NULL)
impute_uuid(x, prefix = NULL)
x |
a character vector. |
Generate new Short UUID
new_short(n, short = c("flickr_base58", "bitcoin58"))
new_short(n, short = c("flickr_base58", "bitcoin58"))
n |
the number of short uuids to generate |
short |
what alphabet to use |
Note that if creating a v7 UUID, uuid::UUIDgenerate(use.time = TRUE, output = "string")
is faster whereas a v4 UUID is ~20x faster using this implementation.
new_v4(n) new_v7(n)
new_v4(n) new_v7(n)
n |
the number of uuids to generate |
Convert short to uuid
short_to_uuid(short_uuid, short = c("flickr_base58", "bitcoin58"))
short_to_uuid(short_uuid, short = c("flickr_base58", "bitcoin58"))
short_uuid |
vector of short-uuids |
short |
what alphabet to use |
Convert uuid to short
uuid_to_short(uuid, short = c("flickr_base58", "bitcoin58"))
uuid_to_short(uuid, short = c("flickr_base58", "bitcoin58"))
uuid |
vector of uuids |
short |
what alphabet to use |