View source: R/extr_monograph.R
extr_monograph | R Documentation |
This function returns information regarding Monographs from the World Health Organization (WHO) International Agency for Research on Cancer (IARC) based on CAS Registry Number or Name of the chemical. Note that the data is not fetched dynamically from the website, but has retrieved and copy hasbeen saved as internal data in the package.
extr_monograph(ids, search_type = "casrn", verbose = TRUE, get_all = FALSE)
ids |
A character vector of IDs to search for. |
search_type |
A character string specifying the type of search to
perform. Valid options are "casrn" (CAS Registry Number) and "name"
. (name of the chemical). If |
verbose |
A logical value indicating whether to print detailed messages. . Default is TRUE. |
get_all |
Logical. If TRUE ignore all the other ignore |
A data frame containing the relevant information from the WHO IARC,
. including Monograph volume
, volume_publication_year
, evaluation_year
,
. and additional_information
where the chemical was described.
https://monographs.iarc.who.int/list-of-classifications/
{
dat <- extr_monograph(search_type = "casrn", ids = c("105-74-8", "120-58-1"))
str(dat)
# Example usage for name search
dat2 <- extr_monograph(
search_type = "name",
ids = c("Aloe", "Schistosoma", "Styrene")
)
str(dat2)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.