Skip to contents

This wrapper function retrieves toxicological information for specified chemicals by calling several external functions to query multiple databases, including PubChem, the Integrated Chemical Environment (ICE), CompTox Chemicals Dashboard, and the Integrated Risk Information System (IRIS).

Usage

extr_tox(casrn)

Arguments

casrn

A character vector of CAS Registry Numbers (CASRN) representing the chemicals of interest.

Value

A list of data frames containing toxicological information retrieved from each database:

ghs_dat

Toxicity data from PubChem's Globally Harmonized System (GHS) classification.

comptox_list

List of toxicity information from the CompTox Chemicals Dashboard.

ice_dat

Assay data from the Integrated Chemical Environment (ICE) database.

iris

Risk assessment data from the IRIS database.

Details

Specifically, this function:

  • Calls extr_pubchem_ghs to retrieve GHS classification data from PubChem.

  • Calls extr_comptox to retrieve data from the CompTox Chemicals Dashboard.

  • Calls extr_ice to gather assay data from the ICE database.

  • Calls extr_iris to retrieve risk assessment information from the IRIS database.

Examples

# \donttest{
casrn <- c("50-00-0", "107-02-8")
extr_tox(casrn)
#>  Checking Internet Connection...
#>  Internet connection OK...
#>  Getting PubChem IDS...
#> Querying 50-00-0. 
#> OK (HTTP 200).
#> 
#> 
#> Querying 712. 
#> OK (HTTP 200).
#> 
#> 
#>  Getting PubChem IDS...
#> Querying 107-02-8. 
#> OK (HTTP 200).
#> 
#> 
#> Querying 7847. 
#> OK (HTTP 200).
#> 
#> 
#>  Sending request to CompTox...
#> Request succeeded with status code: 202
#>  Getting info from CompTox...
#> Request succeeded with status code: 200
#>  Checking Internet Connection...
#>  Internet connection OK...
#> Sending request to ICE database...
#> Request succeeded with status code: 200
#>  Checking Internet Connection...
#>  Internet connection OK...
#> Quering 50-00-0 to EPA IRIS database...
#> Request succeeded with status code: 200
#> Quering 107-02-8 to EPA IRIS database...
#> Request succeeded with status code: 200
# }