cdr_make_unique_ids: Attach unique IDs as the key column

View source: R/cdr_make_unique_ids.R

cdr_make_unique_idsR Documentation

Attach unique IDs as the key column

Description

Attach unique IDs as the key column

Usage

cdr_make_unique_ids(db_tbl, key_field = "UID", use_guid = FALSE)

Arguments

db_tbl

a dataframe

key_field

the name of the column with the Unique ID

use_guid

use a 12 digit GUID instead of the default format

Value

a table with a column of Unique IDs

Examples

cdr_make_unique_ids(utils::head(iris,11))
cdr_make_unique_ids(utils::head(iris,11), key_field = 'GUID', use_guid = TRUE)

eauleaf/crudr documentation built on Jan. 29, 2024, 4:39 p.m.