View source: R/chemical-APIs-batch.R
chemical_starts_with_batch | R Documentation |
Chemical starts with batch search
chemical_starts_with_batch(
word_list = NULL,
API_key = NULL,
rate_limit = 0L,
verbose = FALSE,
top = NULL
)
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 |
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.
Paul Kruse, Kristin Issacs
# Pull chemicals that start with given substrings
bpa_substrings <- chemical_starts_with_batch(word_list = c('DTXSID702018',
'DTXCID3018'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.