[,einfo,ANY,missing-method {reutils}R Documentation

EInfo accessors

Description

Extract parts of a parsed einfo object.

Usage

## 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

## 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)

[Package reutils version 0.2.3 Index]