This function retrieves the input arguments from a specified PubChem database request object.
request_args(object, .which = NULL, ...)
A list or string vector containing the options used in the function call.
An object returned from related request functions of the PubChem database.
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.
request <- get_cids("aspirin", namespace = "name")
request_args(request, "identifier")
request_args(request)
Run the code above in your browser using DataLab