Learn R Programming

bayesbio (version 1.0.0)

pubmedQuery: Perform PubMed queries on 2x2 combinations of term vectors.

Description

Perform PubMed queries on the intersections of two character vectors. This function is a wrapper to RISmed::EUtilsSummary with type = 'esearch', db = 'pubmed'.

Usage

pubmedQuery(rowTerms, colTerms, sleepTime = 0.01)

Arguments

rowTerms
Character vector of terms that should make up the rows of the resulting mention count data frame.
colTerms
Character vector of terms for the columns.
sleepTime
How much time (in seconds) to sleep between successive PubMed queries. If you set this too low, PubMed may shut down your connection to prevent overloading their servers.

Value

A data frame of the number of mentions for each combination of terms.