Save data and metadata for reproducible leakage analysis with optimised performance.
leakr_create_snapshot(
data,
output_dir = file.path(tempdir(), "leakr_snapshots"),
snapshot_name = NULL,
metadata = list(),
sample_for_hash = TRUE
)Path to snapshot directory
Data.frame to snapshot
Directory for snapshot files
Name for this snapshot
Additional metadata to store
Whether to sample large datasets for faster hashing