Saves the candidate duplicate pairs returned as the $manual_dedup element
of dedup_citations(manual = TRUE) so that manual review can be completed
later. Combine with export_csv() to defer manual deduplication: export the
automatically deduplicated unique citations and these candidate pairs now,
then re-import both later with reimport_csv() and
reimport_dedup_candidates() to finish the review. Note that existing files
are overwritten without warning.
Value
No return value, called for side effects. Saves the candidate pairs as a 'CSV' file to the specified location.
Examples
if (interactive()) {
examplecitations_path <- system.file("extdata", "examplecitations.rds", package = "CiteSource")
examplecitations <- readRDS(examplecitations_path)
dedup_results <- dedup_citations(examplecitations, manual = TRUE)
export_dedup_candidates(dedup_results$manual_dedup, tempfile(fileext = ".csv"))
}