Learn R Programming

extractox (version 1.2.0)

extr_iris: Extract Data from EPA IRIS Database

Description

The extr_iris function sends a request to the EPA IRIS database to search for information based on a specified keywords and cancer types. It retrieves and parses the HTML content from the response.

Usage

extr_iris(casrn = NULL, verbose = TRUE, delay = 0)

Value

A data frame containing the extracted data.

Arguments

casrn

A vector CASRN for the search.

verbose

A logical value indicating whether to print detailed messages. Default is TRUE.

delay

Numeric value indicating the delay in seconds between requests to avoid overwhelming the server. Default is 0 seconds.

Examples

Run this code
# \donttest{
Sys.sleep(3) # To avoid rate limiting due to previous examples
extr_iris(casrn = c("1332-21-4", "50-00-0"), delay = 2)
# }

Run the code above in your browser using DataLab