epm_query_by_pmid | R Documentation |
Query PubMed using a list of PubMed record identifiers (PMIDs) as input. The list of identifiers is automatically split into a series of manageable-sized chunks (max n=50 PMIDs per chunk).
epm_query_by_pmid(pmids, api_key = NULL, verbose = TRUE)
pmids |
Vector (character or numeric), list of Pubmed record identifiers (PMIDs). Values will be coerced to character. |
api_key |
String (character vector of length 1), corresponding to the NCBI API key. Can be 'NULL'. |
verbose |
Logical, shall details about the progress of the operation be printed to console. |
an easyPubMed object.
Damiano Fantini, damiano.fantini@gmail.com
https://www.data-pulse.com/dev_site/easypubmed/
# Note: a time limit can be set in order to kill the operation when/if
# the NCBI/Entrez server becomes unresponsive.
setTimeLimit(elapsed = 4.9)
try({
my_pmids <- c(34097668, 34097669, 34097670)
epm_query_by_pmid(my_pmids)
}, silent = TRUE)
setTimeLimit(elapsed = Inf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.