Answers "which config produced this network, and when" without
hand-written SQL. One row per lnk_pipeline_run() call; by default only
the most recent run per watershed group.
Details
A watershed group present in <persist_schema>.streams but absent here was
modelled before provenance logging existed (link#127) — absence means
pre-provenance vintage, not an error. Rows are never backfilled, because
the config and code state that produced them is not recoverable and a
synthetic row would be fabricated provenance.
Examples
if (FALSE) { # \dontrun{
conn <- lnk_db_conn()
cfg <- lnk_config("default")
# What produced the current PINE network?
lnk_log_read(conn, cfg, aoi = "PINE")
# Every run, newest first.
lnk_log_read(conn, cfg, latest = FALSE)
} # }
