Learn R Programming

flowr (version 0.9.11)

get_unique_id: 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

Run this code
# NOT RUN {
get_unique_id(base = id, random_length = 8)
# }

Run the code above in your browser using DataLab