This function queries the Europe PMC REST API using a provided search string. It handles pagination using a cursor and returns a tibble of search results.
Arguments
- query
A character string representing the search query for Europe PMC. See https://europepmc.org/Help for query syntax.
- page_limit
An integer specifying the maximum number of pages to retrieve. Defaults to 10. Set to
Infto retrieve all pages (use with caution).- delay
An integer delay for API calls. Defaults to 1.
Value
A tibble where each row represents a publication. Columns include:
idPublication ID
sourceSource of the publication (e.g., "MED", "PMC")
pmidPubMed ID
pmcidPubMed Central ID
doiDigital Object Identifier
titleTitle of the publication
authorStringString of authors
journalTitleTitle of the journal
issueJournal issue
journalVolumeJournal volume
pubYearYear of publication
journalIssnJournal ISSN
pageInfoPage information
pubTypeType of publication (e.g., "journal article", "review")
isOpenAccessWhether the publication is open access ("OA" or "N/A")
inEPMCWhether the publication is in EPMC ("Y" or "N/A")
inPMCWhether the publication is in PMC ("Y" or "N/A")
hasPDFWhether a PDF is available ("Y" or "N/A")
hasBookWhether it is a book ("Y" or "N/A")
citedByCountNumber of citations
hasReferencesWhether references are available ("Y" or "N/A")
hasTextMinedTermsWhether text-mined terms are available ("Y" or "N/A")
hasDbCrossReferencesWhether database cross-references are available ("Y" or "N/A")
hasLabsLinksWhether Labs links are available ("Y" or "N/A")
hasTMAccessionNumbersWhether TM accession numbers are available ("Y" or "N/A")
firstPublicationDateDate of first publication