Chemical starts with batch search
Usage
chemical_starts_with_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
Examples
if (FALSE) { # has_ctx_key() & is.na(ctx_key() == "FAKE_KEY")
# Pull chemicals that start with given substrings
bpa_substrings <- chemical_starts_with_batch(word_list = c('DTXSID702018',
'DTXCID3018'))
}