m3resp.export_store#

m3resp.export_store(store, out_dir, *, validate=True, require_complete=False)[source]#

Write one JSON file per table to out_dir. Returns table -> path.

The store is checked first with validate_store. When a check fails, nothing is written - not even out_dir - and DataModelValidationError is raised, listing every problem.

By default only the reference checks run (every record points at records that exist, and no time window ends before it starts), which a store recorded from a session passes. require_complete=True also runs the completeness checks (units, sampling rate, start time, file checksums), for a finished dataset. validate=False skips the checks and writes the store as it is.

Parameters:
Return type:

dict[str, Path]