EPM_esearch_parse | R Documentation |
Parse Responses from the NCBI ESearch Server and return a list of information that can be used for retrieving PubMed records from the NCBI EFetch Server.
EPM_esearch_parse(x)
x |
String (character vector of length 1), this is the xml string returned by the NCBI ESearch Server. |
The output list includes the following items.
'web_env'. String, unique identifier for fetching PubMed records corresponding to the current query.
'query_key'. Integer, unique numeric key for fetching PubMed records corresponding to the current query.
'count'. Integer, expected number of records returned by the current query.
'query_translation'. String, translation of the Query string provided by the user.
List including information extracted from the NCBI ESearch Server response.
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_q <- 'easyPubMed'
my_params <- list(q = my_q)
x <- easyPubMed:::EPM_esearch_basic_q(params = my_params)
easyPubMed:::EPM_esearch_parse(x)
}, silent = TRUE)
setTimeLimit(elapsed = Inf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.