extr_iris {extractox} | R Documentation |
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)
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. |
Value
A data frame containing the extracted data.
Examples
Sys.sleep(3) # To avoid rate limiting due to previous examples
extr_iris(casrn = c("1332-21-4", "50-00-0"), delay = 2)
[Package extractox version 1.2.0 Index]