Assign deterministic UUIDs from composite key columns
Source:R/wrangle.R
assign_deterministic_uuids.RdGenerates UUID v5 (name-based SHA-1) identifiers from a composite key. The same key values always produce the same UUID, making IDs stable across re-ingestion regardless of row order.
Usage
assign_deterministic_uuids(
con,
table_name,
id_col,
key_cols,
namespace_uuid = "c0f1ca00-ca1c-5000-b000-1c4790000000"
)