Learn R Programming

PubChemR (version 2.1.4)

pubChemData: Retrieve Raw Data from PUG REST Object

Description

A short description...

Usage

pubChemData(object, ...)

# S3 method for PugRestInstance pubChemData(object, ...)

Value

a vector, list, or data.frame containing the raw data retrieved from Pub Chem database through PUG REST API.

Arguments

object

an object of class 'PugRestInstance' returned from get_pug_rest function.

...

additional arguments. Currently has no effect on results.

See Also

get_pug_rest

Examples

Run this code
result <- get_pug_rest(identifier = "2244", namespace = "cid", domain = "compound", output = "JSON")
pubChemData(result)

Run the code above in your browser using DataLab