td_manifest: Describe a built snapshot

View source: R/manifest.R

td_manifestR Documentation

Describe a built snapshot

Description

Describe a built snapshot

Usage

td_manifest(
  version = format(Sys.Date(), "%Y"),
  dir = build_dir(),
  validate = TRUE,
  db = td_connect()
)

Arguments

version

the snapshot version to describe

dir

the build output directory, see build_dir()

validate

should each table be checked with td_validate() and the result recorded? Default TRUE. Archival snapshots predate the schema rules and will report violations; recording them is the point.

db

a duckdb connection

Details

Run after td_build(). The row counts and checksums are read back off the written files rather than carried over from the build, so the manifest describes what was actually published.

Value

a data.frame with one row per published table, giving its provider, schema, row count, columns, file sizes and checksum, and the upstream release it was derived from.

Examples

## Not run: 
td_manifest("2026")

## End(Not run)

taxadb documentation built on Aug. 31, 2026, 5:07 p.m.