get_data_sources: Get external ChemSpider data sources

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/LOOKUPS-get_data_sources.R

Description

Returns all external ChemSpider data sources.

Usage

1

Arguments

apikey

A 32-character string with a valid key for ChemSpider's API services.

Details

"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 data_sources in other chemspiderapi functions, for example get_record_id_external_references().

Value

A list of all external data sources.

Author(s)

Raoul Wolf (https://github.com/RaoulWolf/)

See Also

https://developer.rsc.org/compounds-v1/apis/get/lookups/datasources

Examples

1
2
3
4
5
6
## Not run: 
## Get external data sources of ChemSpider
apikey <- "A valid API key"
get_data_sources(apikey = apikey)

## End(Not run)

RaoulWolf/chemspiderapi documentation built on July 4, 2021, 5:28 a.m.