Skip to contents

Takes a vector of chemical names, CAS numbers, SMILES, or any identifier and returns a tibble mapping each input to its DTXSID and preferred name. Unmatched inputs are included with NA values.

Usage

dss_resolve(query, con = NULL)

Arguments

query

A character vector of values to resolve.

con

An optional DBI::DBIConnection.

Value

A tibble with columns: input, DTXSID, PREFERRED_NAME, CASRN, matched_on.

Examples

if (FALSE) { # \dontrun{
dss_resolve(c("Formaldehyde", "7440-38-2", "DTXSID7020637"))
} # }