When handed an item (a vector or a single variable) first checks if it is actually a UUID as defined in check_if_uid() and if so, replaces it with the corresponding identifier from the uidlist (also handed to the function).
Arguments
- uidvector
a vector of UUIDs to be replaced with their identifiers
- uidlist
a uidlist resp. index of as returned by
get_uid_list()
andget_field_index()
See also
This function is used in:
simplify_idaifield()
,fix_relations()
Examples
if (FALSE) {
conn <- connect_idaifield(pwd = "hallo", project = "rtest")
index <- get_field_index(conn)
replace_uid("02932bc4-22ce-3080-a205-e050b489c0c2", uidlist = index[, c("identifier", "UID")])
}