etox_basic | R Documentation |
Query ETOX: Information System Ecotoxicology and Environmental Quality Targets https://webetox.uba.de/webETOX/index.do for basic information
etox_basic(id, verbose = getOption("verbose"))
id |
character; ETOX ID |
verbose |
logical; print message during processing to console? |
a list with lists of four entries: cas (the CAS numbers), ec (the EC number), gsbl (the gsbl number), a data.frame synonys with synonyms and the source url.
Before using this function, please read the disclaimer https://webetox.uba.de/webETOX/disclaimer.do.
Eduard Szöcs, Tamás Stirling, Eric R. Scott, Andreas Scharmüller, Ralf B. Schäfer (2020). webchem: An R Package to Retrieve Chemical Information from the Web. Journal of Statistical Software, 93(13). \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v093.i13")}.
get_etoxid
to retrieve ETOX IDs,
etox_basic
for basic information, etox_targets
for quality targets and etox_tests
for test results
## Not run:
id <- get_etoxid('Triclosan', match = 'best')
etox_basic(id$etoxid)
# Retrieve data for multiple inputs
ids <- c("20179", "9051")
out <- etox_basic(ids)
out
# extract cas numbers
sapply(out, function(y) y$cas)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.