When was a dataset's source last read? Measured from git
Source:R/citation.R
source_accessed_from_git.RdThe last commit date of data/parquet/{provider}_{dataset}/manifest.json
— the sidecar every ingest rewrites when it runs — is the best available
record of when the source was read, and it costs no ingest re-run. Method
sidecar_commit. An untracked sidecar, or a directory outside a repository,
yields NA.
Value
A tibble: dataset_key (the directory name),
source_accessed (Date), source_accessed_method, source_accessed_ref
(the commit).
Details
Prefer resolve_source_accessed(), which takes an ingest's own
stamp_source_access() record from metadata.json when there is one.