get_unique_id: get_unique_id

View source: R/generic.R

get_unique_idR Documentation

get_unique_id

Description

get_unique_id

Usage

get_unique_id(prefix = "id", suffix = "", random_length = 8)

Arguments

prefix

Default id. Character string to be added in the front.

suffix

Default ”. Character string to be added in the end.

random_length

Integer, defaults to 8. In our opinion 8 serves well, providing 'uniqueness' and not being much of a eyesore.

Examples

## Not run: 
get_unique_id(base = id, random_length = 8)
## End(Not run)

flow-r/flowr documentation built on Feb. 14, 2025, 5:52 p.m.