get_pubmed: Get information on the clade from pubmed

View source: R/dataFunctions.R

get_pubmedR Documentation

Get information on the clade from pubmed

Description

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.

Usage

get_pubmed(taxon, search.string = " AND phylogeny", retmax = 50)

Arguments

taxon

The clade of interest

search.string

Include spaces and AND and similar search elements

retmax

how many papers to return

Value

List with a count element (integer) and a recent.papers element (data.frame)

Examples

taxon <- "Formicidae"
results <- get_pubmed(taxon)
print(paste("There are", results$count, "papers on", taxon, "and phylogeny"))
print(results$recent.papers[,c("Date", "FirstAuthor")])

bomeara/chapter2 documentation built on July 27, 2024, 10:35 p.m.