Learn R Programming

aisdk (version 1.1.0)

add_stable_ids: Add Stable IDs to Nested List

Description

Recursively traverses a list and adds _id fields where missing based on content hashing.

Usage

add_stable_ids(x, prefix = NULL)

Value

Modified list.

Arguments

x

List to process.

prefix

Optional prefix for IDs.