Skip to contents

A convenience wrapper that row-binds multiple result tibbles returned by pc_search() or source-specific search functions, then deduplicates by DOI. Useful when running several searches (different queries or fields) that you want to treat as a single corpus.

Usage

pc_combine(..., deduplicate = TRUE)

Arguments

...

Two or more tibbles returned by pc_search() or source-specific search functions, all conforming to the standard pubclassify schema.

deduplicate

Logical. If TRUE (default), deduplicate by DOI after combining. See pc_deduplicate().

Value

A tibble::tibble() with the standard pubclassify schema.

Examples

if (FALSE) { # \dontrun{
affil   <- pc_search("University of Edinburgh", field = "affiliation")
funder  <- pc_search("Wellcome Trust", field = "funder")
corpus  <- pc_combine(affil, funder)
} # }