Learn R Programming

PubMedWordcloud (version 0.3.6)

getAbstracts: get Abstracts

Description

retrieve abstracts of the specified PMIDs from PubMed.

Usage

getAbstracts(pmid, https = TRUE, s = 100)

Arguments

pmid

a set of PMIDs

https

use https instead of http

s

download how many PMIDs each time

See Also

getPMIDs

Examples

Run this code
# NOT RUN {
# pmids=c("22693232", "22564732", "22301463", "22015308", "21283797", "19412437")
# abstracts=getAbstracts(pmids)

# pmid="22693232"
# abstract=getAbstracts(pmid)

# pmids=getPMIDs(author="Yan-Hui Fan",dFrom=2007,dTo=2013,n=10)
# abstracts=getAbstracts(pmids)
# }

Run the code above in your browser using DataLab