For each record that has a DOI and is missing abstract, authors,
affiliations, or grant_numbers, queries the
OpenAlex Works endpoint in
batches to fill in those fields. Existing non-empty values are preserved.
funders is filled in from OpenAlex awards only when the field is empty.
Arguments
- pubs
A
tibble::tibble()returned by anypc_search_*()function, conforming to the standard pubclassify schema.Character. Email for the OpenAlex polite pool. Falls back to the value set with
pc_configure(), then thePUBCLASSIFY_EMAILenvironment variable.- batch_size
Integer. Number of DOIs per OpenAlex request. Default
50.
Value
The input tibble with abstract, authors, affiliations,
grant_numbers, and (where empty) funders filled in for records whose
DOI was found in OpenAlex.
Details
This is the recommended way to enrich Scopus results retrieved without COMPLETE view access, or Crossref results which rarely include abstracts.
Examples
if (FALSE) { # \dontrun{
pubs <- pc_search_scopus("California Natural Resources Agency",
field = "funder")
pubs <- pc_fetch_abstracts(pubs)
} # }