get_data_lineage: Get Data Lineage

View source: R/data_provenance.R

get_data_lineageR Documentation

Get Data Lineage

Description

Retrieve complete lineage information for tracked data

Usage

get_data_lineage(
  data_path = NULL,
  registry_file = ".capsule/data_registry.json"
)

Arguments

data_path

Character. Path to data file. If NULL, returns all lineage.

registry_file

Character. Path to provenance registry.

Value

List containing lineage information

Examples

## Not run: 
# Get lineage for specific file
lineage <- get_data_lineage("data/mydata.csv")

# Get all lineage
all_lineage <- get_data_lineage()

## End(Not run)

Capsule documentation built on Nov. 11, 2025, 5:14 p.m.