Skip to contents

Save or read data and context as one portable bundle

Usage

write_studyframe(x, file)

read_studyframe(file, max_bytes = 256 * 1024^2)

Arguments

x

A studyframe.

file

Bundle filename. Writers refuse to overwrite existing files.

max_bytes

Maximum total uncompressed size accepted when reading.

Value

write_studyframe returns the filename invisibly; read_studyframe returns a validated studyframe. A bundle is a ZIP archive with two Parquet tables, context.json, and a manifest containing SHA-256 integrity hashes. Hashes detect corruption, not the truth or authenticity of a declaration.