Description Usage Arguments Value Examples
Download data from Pubmed
1 | pubmed_fetch(ids, file_format = "xml", as_r_object = TRUE, ...)
|
ids |
integer Pubmed ID's to get abstracts and metadata from |
file_format |
character Format in which to get data (eg, fasta, xml...) default = "xml" |
as_r_object |
boolean if TRUE, parses returned xml to R objects (nested lists), else returns xml |
... |
character Additional terms to add to the request |
list or character string containing abstratcs and metadata for each ID (see as_r_object)
1 2 3 4 5 6 | ## Not run:
# Get IDs via rentrez_search:
plasticity_ids <- entrez_search("pubmed", "phenotypic plasticity", retmax = 2600)$ids[1:100]
plasticity_records <- pubmed_fetch(plasticity_ids)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.