EPM_esearch_basic_q: Submit a Query to the NCBI ESearch Server.

View source: R/epm_all_fx.R

EPM_esearch_basic_qR Documentation

Submit a Query to the NCBI ESearch Server.

Description

Submit a Query to the NCBI ESearch Server and capture the response.

Usage

EPM_esearch_basic_q(params)

Arguments

params

List including the information for querying the NCBI ESearch Server.

Details

The params list must include the elements listed below.

  • 'q'. String corresponding to the Query to be submitted to the server.

  • 'api_key'. (Optional) String corresponding to the NCBI API key.

Value

Character vector including the response from the server.

Author(s)

Damiano Fantini, damiano.fantini@gmail.com

References

https://www.data-pulse.com/dev_site/easypubmed/

Examples

# 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)
  easyPubMed:::EPM_esearch_basic_q(params = my_params)
}, silent = TRUE)
setTimeLimit(elapsed = Inf)


dami82/easyPubMed documentation built on Jan. 4, 2024, 6:21 a.m.