View source: R/wacz_to_recordset_df.R
| wacz_to_recordset_df | R Documentation |
Converts a wacz_observation created with observe_wacz() into a
semantically enriched dataset_df representing a Record Set.
The function preserves the original observations while attaching
dataset-level metadata and lightweight Records in Contexts (RiC)
semantics. Selected identifier columns may be declared as
rico:Identifier values, allowing downstream workflows to distinguish
identifiers intended to refer to Records or Record Parts without
requiring a complete RiC-O implementation.
The function intentionally performs only lightweight semantic enrichment. It does not infer Records, Record Parts, Instantiations, or other archival entities, nor does it reconcile identities or build provenance graphs. Such interpretation is expected to occur in later human-guided curation or semantic stabilisation workflows.
wacz_to_recordset_df(
wacz_observation,
record_set_id = NULL,
record_set_title = NULL,
record_identifier = "resource_locator",
record_part_identifier = NULL,
person = utils::person("Jane", "Doe")
)
wacz_observation |
A |
record_set_id |
Optional identifier for the resulting Record Set. If |
record_set_title |
Optional human-readable title for the Record Set. If omitted, a title is constructed automatically. |
record_identifier |
Name of the column whose values identify Records represented in the
Record Set. The selected column is annotated as
|
record_part_identifier |
Optional name of a column whose values identify Record Parts. The
selected column is annotated as |
person |
A |
This function occupies the boundary between observational data and semantic interpretation.
observe_wacz() records observations extracted from a WACZ archive.
wacz_to_recordset_df() adds curatorial assertions describing how
particular observed identifiers should be interpreted within a Record
Set, while deliberately avoiding stronger ontological commitments such
as identity reconciliation or Record construction.
The resulting object is intended for reproducible archival, curatorial, and semantic enrichment workflows.
A dataset_df object enriched with:
Dublin Core dataset metadata;
a RiC Record Set subject;
optional semantic annotations for Record and Record Part identifiers;
the original datapackage and wacz attributes.
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/
observe_wacz(), dataset::dataset_df(), dataset::defined()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.