replace_uid | R Documentation |
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).
replace_uid(uidvector, uidlist)
uidvector |
a vector of UUIDs to be replaced with their identifiers |
uidlist |
a uidlist resp. index of as returned by
|
The corresponding identifier(s) (a character string/vector)
This function is used in: simplify_idaifield()
, fix_relations()
## Not run:
conn <- connect_idaifield(pwd = "hallo", project = "rtest")
index <- get_field_index(conn)
replace_uid("02932bc4-22ce-3080-a205-e050b489c0c2", uidlist = index[, c("identifier", "UID")])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.