Skip to contents

Reads all ingest manifest.json files to build a registry of which tables come from which ingests. For tables appearing in multiple ingests, marks the first occurrence as canonical. Excludes supplemental tables. Used by release_database.qmd to auto-discover table sources for GCS server-side copy.

Usage

build_release_table_registry(workflows_dir = here::here())

Arguments

workflows_dir

Path to the workflows directory (default: here::here())

Value

Tibble with columns: table, ingest, parquet_dir, gcs_prefix, partitioned, supplemental, canonical

Examples

if (FALSE) { # \dontrun{
registry <- build_release_table_registry()
# canonical single-source tables for GCS copy
registry |> filter(canonical, !supplemental)
} # }