webchem (version 1.3.0)

cs_datasources: Retrieve ChemSpider data sources

Description

The function returns a vector of available data sources used by ChemSpider. Some ChemSpider functions allow you to restrict which sources are used to lookup the requested query. Restricting the sources makes these queries faster.

Usage

cs_datasources(apikey = NULL, verbose = getOption("verbose"))

Value

Returns a character vector.

Arguments

apikey

character; your API key. If NULL (default), cs_check_key() will look for it in .Renviron or .Rprofile.

verbose

should a verbose output be printed on the console?

References

https://developer.rsc.org/docs/compounds-v1-trial/1/overview

Examples

Run this code
if (FALSE) {
cs_datasources()
}

Run the code above in your browser using DataLab