Learn R Programming

webchem (version 0.0.5.0)

aw_query: Query http://www.alanwood.net/pesticides

Description

Query Alan Woods Compendium of Pesticide Common Names http://www.alanwood.net/pesticides

Usage

aw_query(x, type = c("commonname", "cas"), verbose = TRUE)

Arguments

x
character; search string
type
character; type of input ('cas' or 'commonname')
verbose
logical; print message during processing to console?

Value

  • A list of eight entries: common-name, status, preferredd IUPAC Name, IUPAC Name, cas, formula, activity, subactivity, inchikey, inchi and source url.

Examples

Run this code
aw_query('Fluazinam', type = 'commonname')
sapply(c('Fluazinam', 'Diclofop'), alanwood, type = 'com')
aw_query("79622-59-6", type = 'cas')

Run the code above in your browser using DataLab