Skip to contents

Check works in the corpus against the Retraction Watch database (via the Crossref API retracted-article filter and OpenAlex) to identify retracted publications.

Updates the is_retracted and retraction_date columns in the works table.

This enricher is idempotent: re-running it updates existing retraction data rather than duplicating it.

Usage

sm_enrich_retraction(corpus, verbose = TRUE, call = rlang::caller_env())

Arguments

corpus

An sm_corpus object.

verbose

Print progress messages?

call

Caller environment for error reporting.

Value

An sm_corpus object with updated is_retracted and retraction_date columns in the works table, plus new provenance rows.

Examples

if (FALSE) { # \dontrun{
corpus <- sm_example_corpus()
corpus <- sm_enrich_retraction(corpus)
} # }