Learn R Programming

easyPubMed (version 3.1.6)

EPM_detect_pmid: Detect PubMed Record Identifiers.

Description

Parse a list of pubmed records in XML or Medline format, extract and return the corresponding PubMed record identifiers (PMID).

Usage

EPM_detect_pmid(x, format = "xml", as.list = TRUE)

Value

list of PubMed record identifiers.

Arguments

x

list including PubMed record data (either in `xml` or `abstract` format).

format

string (character of length 1) indicating the format of each element in x (either `xml` or `medline`).

as.list

logical (of length 1). Shall results be returned as a list.

Author

Damiano Fantini, damiano.fantini@gmail.com

References

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

Examples

Run this code
x <- list(A='First record: Rec_1A Lorem ipsum dolor sit amet', 
          B='Another record: TitleRec_2 Lorem ipsum ')
easyPubMed:::EPM_detect_pmid(x, format = 'xml')




Run the code above in your browser using DataLab