Learn R Programming

pubmed.mineR (version 1.0.3.1)

searchabsL: To Search the abstracts of term(s) in a combination mode.

Description

searchabsL will search for abstracts for the given term(s). Multiple combinations are allowed.

Usage

searchabsL(object, yr, include, restrict, exclude)

Arguments

object
An S4 object of class Abstracts
yr
character vector specifies the year of search
include
character vector specifies the terms contained in the abstracts.
restrict
character vector specifies the term contained in the abstracts for which search should be restricted.
exclude
character vector specifies the terms contained in the abstracts for excluding these abstracts from the search results.

Value

  • An object of class Abstracts satisfying the term combinations, In addition a text file named "out.txt" reporting the number of abstracts for given query term combinations.

Details

In the arguments except for the object all other arguments have "NONE" as default. To export or write the result of searchabsL() we use sendabs() function.

See Also

searchabsT

Examples

Run this code
searchabsL(x, include="term")
searchabsL(x, yr="2013")
searchabsL(x, restrict="term")
searchabsL(x, exclude="term")
searchabsL(x, include="term", exclude="term2")
## Here x is the object of class Abstracts containing data,
## "term" is the query term to be search.

Run the code above in your browser using DataLab