View source: R/dataFunctions.R
get_pubmed | R Documentation |
This will give the total number of pubmed articles mentioning the taxon name and other search string and information on the most recent such papers.
get_pubmed(taxon, search.string = " AND phylogeny", retmax = 50)
taxon |
The clade of interest |
search.string |
Include spaces and AND and similar search elements |
retmax |
how many papers to return |
List with a count element (integer) and a recent.papers element (data.frame)
taxon <- "Formicidae"
results <- get_pubmed(taxon)
print(paste("There are", results$count, "papers on", taxon, "and phylogeny"))
print(results$recent.papers[,c("Date", "FirstAuthor")])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.