This function provides a table with drug synonyms that have the same class and category as the search term.

lookup_syn(drug_name)

Arguments

drug_name

a string of a single drug name.

Value

A lookup table with category data.frame having three columns: drug class, drug category match, and synonym name.

Examples

lookup_syn("zip")
#> Your search matched multiple categories. Please choose one #> from the following list and refine your search. Example: #> lookup_syn('cocaine') or lookup_syn('marijuana')
#> category #> 1 cocaine #> 2 marijuana #> 3 methamphetamine