View source: R/chemical-APIs-batch.R
chemical_equal_batch | R Documentation |
Chemical equal batch search
chemical_equal_batch(
word_list = NULL,
API_key = NULL,
rate_limit = 0L,
verbose = FALSE
)
word_list |
A list of character strings of chemical names or portion of chemical names, DTXSIDs, CASRNs, InChIKeys. |
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. |
A named list of data.tables of chemicals and related values matching the query parameters. The list contains two entries, 'valid' and 'invalid'; 'valid', contains a data.table of the results of the the searched chemical that were found in the databases; 'invalid' contains a data.table with 'suggestions' for each searched valued that did not return a chemical.
Paul Kruse, Kristin Issacs
# Pull chemicals that match input strings
bpa <- chemical_equal_batch(word_list = c('DTXSID7020182', 'DTXCID30182'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.