Learn R Programming

webchem (version 0.0.5.0)

etox_basic: Get basic information from a ETOX ID

Description

Query ETOX: Information System Ecotoxicology and Environmental Quality Targets https://webetox.uba.de/webETOX/index.do for basic information

Usage

etox_basic(id, verbose = TRUE)

Arguments

id
character; ETOX ID
verbose
logical; print message during processing to console?

Value

  • a list wit four entries: cas (the CAS numbers), ec (the EC number), gsbl (the gsbl number), a data.frame synonys with synonyms and the source url.

See Also

get_etoxid to retrieve ETOX IDs, etox_basic for basic information, etox_targets for quality targets and etox_tests for test results

Examples

Run this code
id <- get_etoxid('Triclosan', mult = 'best')
etox_basic(id)

# Retrieve CAS for multiple inputs
ids <- c("20179", "9051")
sapply(ids, function(y) etox_basic(y)$cas)

Run the code above in your browser using DataLab