Learn R Programming

prioritizr (version 7.2.2)

new_id: Identifier

Description

Generate a new unique identifier.

Usage

new_id()

Arguments

Value

Id object.

Details

Identifiers are made using the uuid::UUIDgenerate().

See Also

Examples

Run this code
# create new id
i <- new_id()

# print id
print(i)

# convert to character
as.character(i)

# check if it is an Id object
is.Id(i)

Run the code above in your browser using DataLab