View source: R/snapshot_to_recordset_df.R
| snapshot_to_recordset_df | R Documentation |
Creates a provenance-aware recordset_df() object from observational
filesystem snapshots and contextual reconstruction workflows.
The function preserves observed filesystem resources while adding:
contextual Record Set assertions (human-defined grouping of related archived digital resources);
dataset-level provenance metadata (information about how, when, and from which observations the dataset was created);
preservation-oriented semantic context (structured contextual information supporting archival, audit, and long-term reconstruction workflows).
Unlike snapshot_to_reconstruction_context(), which is optimized
for analytical and forensic workflows, this function creates a
stable contextual preservation object suitable for:
contextual digital preservation;
audit reconstruction;
heritage and archival workflows;
provenance-aware digital collections;
human-in-the-loop semantic enrichment.
snapshot_to_recordset_df(
snapshot_files,
roots,
record_set_identifier,
record_set_title = NULL,
creator = utils::person("Jane", "Doe", role = "aut"),
exclude_patterns = c("\\\\.Rcheck")
)
snapshot_files |
Character vector of |
roots |
Character vector of contextual root paths used for observational selection. |
record_set_identifier |
Character scalar giving the asserted identifier of the resulting Record Set. |
record_set_title |
Optional human-readable title. |
creator |
A |
exclude_patterns |
Character vector of exclusion patterns
passed to |
The function intentionally reuses
snapshot_to_reconstruction_context() to preserve:
identical observational reconstruction logic;
stable contextual identifiers;
reproducible reconstruction workflows.
The resulting object keeps observational rows intact while adding a lightweight semantic preservation layer based on:
contextual Record Set assertions;
provenance metadata;
RiC-aligned contextual semantics.
A semantically enriched recordset_df object inheriting from
dataset_df.
International Council on Archives Expert Group on Archival Description (2023). Records in Contexts (RiC). https://www.ica.org/ica-network/expert-groups/egad/records-in-contexts-ric/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.