Queries the Crossref REST API for journal
articles matching a keyword in a specified field. No API key is required;
providing an email via pc_configure() enables the polite pool for
faster, more reliable responses.
Usage
pc_search_crossref(
query,
field = c("abstract", "affiliation", "funder"),
max_results = 500L,
email = NULL,
...
)Arguments
- query
Character. Keyword or phrase to search.
- field
Character. One of
"abstract","affiliation","funder".- max_results
Integer. Maximum number of records to return. Crossref pages in batches of up to 1000; pagination via
offsetis handled automatically. Default500.Character. Email for the Crossref polite pool. Falls back to the value set with
pc_configure(), thenPUBCLASSIFY_EMAIL.- ...
Reserved for future use.
Value
A tibble::tibble() with the standard pubclassify schema.
See pc_search() for column details. abstract will be NA for many
records.
Details
Abstract coverage: Crossref abstracts are frequently absent. After
searching, consider calling pc_fetch_abstracts() to backfill missing
abstracts from OpenAlex using DOIs.
Funder coverage: Crossref funder search (query.funder-name) matches
on funder names deposited by publishers and has lower coverage than
OpenAlex or Scopus. Results may be incomplete.
Examples
if (FALSE) { # \dontrun{
results <- pc_search_crossref("climate change", field = "abstract")
results <- pc_fetch_abstracts(results) # backfill missing abstracts
} # }