cer_manifest: Return the session manifest of fetched CER datasets

View source: R/manifest.R

cer_manifestR Documentation

Return the session manifest of fetched CER datasets

Description

Every call to a data function appends one row to the session manifest, recording URL, dataset title, SHA-256 of the cached file, size, retrieval timestamp, and the snapshot pin set via cer_snapshot(). Duplicate URLs within a session are deduplicated (last fetch wins).

Usage

cer_manifest(format = c("df", "yaml", "json"))

Arguments

format

One of "df" (default), "yaml", or "json".

Details

For carbon market research this is the minimum artefact needed for reproducibility: ACCU project registers and Safeguard releases change retroactively, so a citation that points to a URL alone is not enough. The manifest plus SHA-256 fixes the exact bytes analysed.

Value

A data frame, YAML string, or JSON string.

See Also

Other reproducibility: cer_cite(), cer_deposit_zenodo(), cer_legislative_instrument(), cer_manifest_clear(), cer_manifest_write(), cer_sha256(), cer_snapshot()

Examples


op <- options(cer.cache_dir = tempdir())
cer_manifest_clear()
cer_snapshot("2026-04-24")
cer_manifest()
options(op)


cer documentation built on Dec. 3, 2026, 1:06 a.m.