Learn R Programming

easyPubMed (version 3.1.6)

get_epm_raw: Get Raw Data from an easyPubMed Object.

Description

Request Raw Data from an `easyPubMed` object. This is a wrapper function that calls the `getEPMRaw()` method. This function returns contents from the `raw` slot.

Usage

get_epm_raw(x)

Value

a list including raw data from an `easyPubMed` object.

Arguments

x

An `easyPubMed` object.

Author

Damiano Fantini, damiano.fantini@gmail.com

References

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

Examples

Run this code
# 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({
  x <- epm_query(query_string = 'Damiano Fantini[AU] AND "2018"[PDAT]')
  x <- epm_fetch(x)
  get_epm_raw(x)
}, silent = TRUE)
setTimeLimit(elapsed = Inf)

 

Run the code above in your browser using DataLab