lookup {DOPE} | R Documentation |
Make a table with the class and category for a drug name
Description
This function provides a table with drug class and category information all of the known drugs.
Usage
lookup(
drug_vec = NULL,
...,
searchClass = TRUE,
searchCategory = TRUE,
searchSynonym = TRUE
)
Arguments
drug_vec |
a vector of strings holding possible drug names |
... |
multiple strings holding possible drug names |
searchClass |
Should the substances listed in |
searchCategory |
Should the substances listed in |
searchSynonym |
Should the substances listed in |
Value
A lookup table with category data.frame
having four columns:
original search term, drug class, drug category, and drug street name.
Examples
lookup("zip", "shrooms")
[Package DOPE version 2.1.0 Index]