View source: R/chemical-APIs.R
| get_chem_info | R Documentation | 
Retrieve chemical information
get_chem_info(
  DTXSID = NULL,
  type = "",
  API_key = NULL,
  Server = chemical_api_server,
  verbose = FALSE
)
| DTXSID | The chemical identifier DTXSID | 
| type | This specifies whether to only grab predicted or experimental results. If not specified, it will grab all details. The allowable input values are "predicted" or "experimental". | 
| API_key | The user-specific API Key | 
| Server | The root address for the API endpoint | 
| verbose | A logical indicating if some “progress report” should be given. | 
A data.frame containing chemical information for the chemical with DTXSID matching the input parameter.
# Pull chemical information for BPA
bpa <- get_chem_info(DTXSID = 'DTXSID7020182')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.