searchabsL {pubmed.mineR}R Documentation

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.

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.

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.

Author(s)

S.Ramachandran

See Also

searchabsT

Examples

## Not run: searchabsL(myabs, include="term")
searchabsL(myabs, yr="2013")
searchabsL(myabs, restrict="term")
searchabsL(myabs, exclude="term")
searchabsL(myabs, include="term", exclude="term2")
## End(Not run)
## Here myabs is the object of class Abstracts containing data,
## "term" is the query term to be search.

[Package pubmed.mineR version 1.0.20 Index]