character; How should multiple hits be handeled? "all" returns
all matched IDs, "first" only the first match, "best" the best matching (by
name) ID, "ask" is a interactive mode and the user is asked for input, "na"
returns NA if multiple hits are found.
verbose
logical; print message during processing to console?
Value
a dataframe with 4 columns: etoxID, matched substance, string
distance to match and the queried string
# NOT RUN {# might fail if API is not availableget_etoxid("Triclosan")
# multiple inputscomps <- c("Triclosan", "Glyphosate")
get_etoxid(comps)
get_etoxid(comps, match = "all")
# }