chemical_contains_batch {ctxR} | R Documentation |
Chemical contains batch search
Description
Chemical contains batch search
Usage
chemical_contains_batch(
word_list = NULL,
API_key = NULL,
rate_limit = 0L,
verbose = FALSE,
top = NULL
)
Arguments
word_list |
A list of character strings of chemical names or portion of chemical names |
API_key |
User-specific API key |
rate_limit |
Number of seconds to wait between each request |
verbose |
A logical indicating if some “progress report” should be given. |
top |
The number of results to return if there are multiple results available |
Value
A named list of data.frames of chemicals and related values matching the query parameters. The data.frames under the 'valid' entry contain chemical information for successful requests while the data.frames under the 'invalid' entry contain data.frames with chemical name suggestions based on the input search values.
Author(s)
Paul Kruse, Kristin Issacs
Examples
# Pull chemicals that contain substrings
substring_chemicals <- chemical_contains_batch(word_list = c('TXDIS702018',
'DTXSID70201'))
[Package ctxR version 1.1.2 Index]