find_unique_key: Find the minimal unique key for a data.table
Description
Given a data.table and a base identifier column, finds the minimal set of
additional columns needed to uniquely identify each row.
Usage
find_unique_key(data, base_id = "part_id")
Value
A character vector of column names that form the unique key
Arguments
- data
A data.table
- base_id
The base identifier column name (default: "part_id")