This function provides a table with drug synonyms that have the same class and category as the search term.
lookup_syn(drug_name)
drug_name | a string of a single drug name. |
---|
A lookup table with category data.frame
having three columns:
drug class, drug category match, and synonym name.
lookup_syn("zip")#>#> #>#> category #> 1 cocaine #> 2 marijuana #> 3 methamphetamine