Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/LOOKUPS-get_datasources.R
Returns all external ChemSpider data sources.
1 | get_datasources(apikey, coerce = FALSE, simplify = FALSE)
|
apikey |
A 32-character string with a valid key for ChemSpider's API services. |
coerce |
|
simplify |
|
"Many other endpoints let you restrict which sources are used to lookup the requested query. Restricting the sources makes queries faster."
Returns all available external ChemSpider data sources.
This function is most useful for narrowing down dataSources
in other chemspiderapi functions, for example get_recordId_externalreferences()
.
Either a list
, data.frame
, or vector
of characters.
Raoul Wolf (https://github.com/RaoulWolf/)
https://developer.rsc.org/compounds-v1/apis/get/lookups/datasources
1 2 3 4 5 6 | ## Not run:
## Get external data sources of ChemSpider
apikey <- "A valid 32-character Chemspider API key"
get_datasources(apikey = apikey)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.