Identifies which DOIs were added, removed or unchanged between an earlier and a later retrieval. This supports change tracking: re-running a search later and seeing exactly what is new.
Arguments
- old, new
scopus_records objects or character vectors of DOIs, representing the earlier (
old) and later (new) retrievals.
Value
A tibble of class scopus_doi_diff with columns doi and status,
where status is an ordered factor with levels "added" (in new only),
"removed" (in old only) and "unchanged" (in both). Rows are sorted by
status then DOI, and printing shows the counts in each category.
