Skip to contents

The first call downloads the full corpus (sliced by retraction year to respect the export endpoint's row cap and rate limit). Later calls are incremental by default: only recent years are re-fetched and merged into the existing snapshot by record id, so new retractions are added without re-downloading everything. Use force = TRUE for a complete refresh.

Usage

retraction_sync(force = FALSE, incremental = TRUE, quiet = FALSE)

Arguments

force

Re-download the entire corpus, replacing any existing snapshot.

incremental

When a snapshot exists, fetch only recent years and merge (default). Ignored when force = TRUE or no snapshot exists.

quiet

Suppress progress messages.

Value

Invisibly, the snapshot data frame.

Details

Once a snapshot exists, pass offline = TRUE to any check_*() function to match locally without the network.

Examples

if (FALSE) { # \dontrun{
retraction_sync()                 # first run: full download
retraction_sync()                 # later: incremental update
retraction_sync(force = TRUE)     # occasional full refresh
check_bib("refs.bib", offline = TRUE)
} # }