For each record with a DOI, attempts to retrieve the full acknowledgment
section from the article's full text via the Elsevier TDM API
(https://api.elsevier.com/content/article/doi/), which returns structured
XML including a <ce:acknowledgment> element. Requires a Scopus API key;
an institutional token (SCOPUS_INSTTOKEN) extends access to off-campus
subscriptions. Returns NULL for non-Elsevier DOIs or non-subscribed
content.
Arguments
- pubs
A
tibble::tibble()returned by anypc_search_*()function, conforming to the standard pubclassify schema.- api_key
Character. Scopus/Elsevier API key used for the TDM API. Falls back to the value set with
pc_configure(), then theSCOPUS_API_KEYenvironment variable. If no key is found, the Elsevier TDM step is skipped and only Europe PMC is tried.- ...
Reserved for future use.
Value
The input tibble with an acknowledgment character column
appended. Values are NA where acknowledgment text could not be
retrieved.
Examples
if (FALSE) { # \dontrun{
pubs <- pc_search_scopus("California Natural Resources Agency",
field = "funder")
pubs <- pc_fetch_acknowledgments(pubs)
pubs[!is.na(pubs$acknowledgment), c("doi", "acknowledgment")]
} # }