JSON sidecars preserve source identity and query context separately from
CSV exports or transformed tibbles. Save nso_value_status() separately for
successful results when source symbols matter. Failed fetch manifests retain
status from completed chunks when available. Both reading and writing validate
the manifest schema. Reading accepts local files; replacement writes preserve
the previous file if installing the new file fails.
Examples
# An unannotated table produces an empty provenance manifest.
observations <- data.frame(value = c(12, 15))
path <- tempfile(fileext = ".json")
nso_write_manifest(observations, path)
saved <- nso_read_manifest(path)
identical(saved, nso_provenance(observations))
#> [1] TRUE
unlink(path)