Skip to contents

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.

Usage

pc_fetch_abstracts(pubs, email = NULL, batch_size = 50L)

Arguments

pubs

A tibble::tibble() returned by any pc_search_*() function, conforming to the standard pubclassify schema.

email

Character. Email for the OpenAlex polite pool. Falls back to the value set with pc_configure(), then the PUBCLASSIFY_EMAIL environment 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)
} # }