Package 'uwu'

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

Help Index


uwu: What the Package Does (One Line, Title Case)

Description

What the package does (one paragraph).

Author(s)

Maintainer: Josiah Parry [email protected] (ORCID)


Impute UUID for missing values

Description

This function imputes a v4 UUID by refernce into a character vector. Be careful. This operation cannot be undone!

Usage

impute_uuid(x, prefix = NULL)

Arguments

x

a character vector.


Generate new Short UUID

Description

Generate new Short UUID

Usage

new_short(n, short = c("flickr_base58", "bitcoin58"))

Arguments

n

the number of short uuids to generate

short

what alphabet to use


Generate new UUIDs

Description

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.

Usage

new_v4(n)

new_v7(n)

Arguments

n

the number of uuids to generate


Convert short to uuid

Description

Convert short to uuid

Usage

short_to_uuid(short_uuid, short = c("flickr_base58", "bitcoin58"))

Arguments

short_uuid

vector of short-uuids

short

what alphabet to use

See Also

new_short()


Convert uuid to short

Description

Convert uuid to short

Usage

uuid_to_short(uuid, short = c("flickr_base58", "bitcoin58"))

Arguments

uuid

vector of uuids

short

what alphabet to use