Retrieves the n most recent run records for a given dataset from the
snapshot database, ordered newest-first.
Value
A data frame with one row per run and columns including
id, run_timestamp, file_name, row_count,
overall_status, check_pass_count, check_warn_count,
check_fail_count. Returns an empty data frame if the database does
not exist or contains no records for the dataset.
Examples
if (FALSE) { # \dontrun{
history <- read_recent_snapshots(tempfile(fileext = ".duckdb"), "starwars_csv")
} # }