verify_data: Verify Data Integrity

View source: R/data_provenance.R

verify_dataR Documentation

Verify Data Integrity

Description

Verify that tracked data files have not been modified by comparing checksums

Usage

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

Arguments

data_path

Character. Path to specific file, or NULL to verify all tracked files.

registry_file

Character. Path to provenance registry.

Value

Logical. TRUE if data is unchanged, FALSE otherwise

Examples

## Not run: 
# Verify specific file
verify_data("data/mydata.csv")

# Verify all tracked files
verify_data()

## End(Not run)

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