extract-einfo: EInfo accessors

Description Usage Arguments Value See Also Examples

Description

Extract parts of a parsed einfo object.

Usage

1
2
3
4
5
## S4 method for signature 'einfo,ANY,missing'
x[i, j]

## S4 method for signature 'einfo,ANY'
x[[i]]

Arguments

x

An einfo object.

i

Numeric or character indices specifying the elements to extract.

j

Ignored.

Value

A list.

See Also

Extract

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
e <- einfo("pubmed")
e[1:5]
e["Description"]
e[["Links"]]

e2 <- einfo("pubmed", retmode = 'json')
e2[["header"]]
e2[["einforesult"]][["dbinfo"]][["description"]]

## End(Not run)

reutils documentation built on May 1, 2019, 9:15 p.m.