getCSID: Retrieve the Chemspider ID for a given compound

Description Usage Arguments Value Author(s) Examples

View source: R/webAccess.R

Description

Given an InChIKey, this function queries the chemspider web API to retrieve the Chemspider ID of he compound with that InChIkey.

Usage

1
getCSID(query)

Arguments

query

The InChIKey of the compound

Value

Returns the chemspide

Author(s)

Michele Stravs, Eawag <stravsmi@eawag.ch>

Erik Mueller, UFZ <erik.mueller@ufz.de>

Examples

1
2
3
4
5
6
## Not run: 
# Return all CAS registry numbers stored for benzene.
data <- getCtsRecord("UHOVQNZJYSORNB-UHFFFAOYSA-N")
cas <- CTS.externalIdSubset(data, "CAS")

## End(Not run) 

RMassBank documentation built on Nov. 8, 2020, 6:06 p.m.