request_args {PubChemR}R Documentation

Retrieve Function Inputs

Description

This function retrieves the input arguments from a specified PubChem database request object.

Usage

request_args(object, .which = NULL, ...)

Arguments

object

An object returned from related request functions of the PubChem database.

.which

A string specifying which argument's content to retrieve from object. If NULL, all function inputs will be returned.

...

Additional arguments. These have no effect on the returned outputs and are included for compatibility with S3 methods in the PubChemR package.

Value

A list or string vector containing the options used in the function call.

Examples

request <- get_cids("aspirin", namespace = "name")

request_args(request, "identifier")
request_args(request)


[Package PubChemR version 2.0 Index]