Learn R Programming

Capsule (version 0.2.0)

verify_data: 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")

Value

Logical. TRUE if data is unchanged, FALSE otherwise

Arguments

data_path

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

registry_file

Character. Path to provenance registry.

Examples

Run this code
if (FALSE) {
# Verify specific file
verify_data("data/mydata.csv")

# Verify all tracked files
verify_data()
}

Run the code above in your browser using DataLab