default_provenance: Build default provenance bundle

View source: R/provenance.R

default_provenanceR Documentation

Build default provenance bundle

Description

Construct a small PROV bundle (as N‑Triples) describing the dataset, the software agent, and an optional creation time.

Usage

default_provenance(
  dataset_id = "http://example.com/dataset#",
  author = NULL,
  dtm = NULL,
  generated_at_time = NULL
)

Arguments

dataset_id

Base IRI for the dataset (used as the Entity subject).

author

Optional creator/author agent.

dtm

Optional data team/maintainer agent.

generated_at_time

Optional POSIXct time; defaults to Sys.time().

Details

This helper is used internally to seed provenance metadata. It emits a set of PROV statements including an Entity for the dataset, an Activity for creation, and SoftwareAgent entries for the package citation.

Value

A character vector of N‑Triples suitable for the "prov" attribute.


dataset documentation built on Nov. 16, 2025, 5:06 p.m.