View source: R/chemical-APIs.R
get_public_chemical_list_by_name | R Documentation |
Get chemical list by name
get_public_chemical_list_by_name(
list_name = NULL,
Projection = "",
API_key = NULL,
Server = chemical_api_server,
verbose = FALSE
)
list_name |
The name of the list of chemicals |
Projection |
Optional parameter controlling return type. It takes values chemicallistall' and 'chemicallistname' with the former as the default value. |
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 information about the chemical list. Note,
this is not the chemical list itself. To access the chemicals in the list,
use get_chemicals_in_list
.
get_chemicals_in_list
# Pull chemical list by list name
ccl4 <- get_public_chemical_list_by_name(list_name = 'CCL4')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.