Functions

compress_lookup()

Collapse Redundant Rows of a Lookup Table

lookup()

Make a table with the class and category for a drug name

lookup_syn()

Make a table with the class and category for a drug name

parse()

Parse a vector of free text containing drug information

Tables

dea_brands

Drug brand info

dea_controlled

Drug controlled substance synonyms

dea_factsheets

Drug ontology information from https://www.dea.gov/factsheets

dea_street_names

Drug slang from DEA's DIR-020-17 Drug Slang Code Words.pdf

drug_df

Simulated drug data

drug_stop_words

A vector with drug-specific stop words in English

iqvia

Data sent from IQVIA

lookup_df

A lookup table with drug class, category, and synonyms

noslang_raw

Drug terms from https://www.noslang.com/drugs/dictionary

noslang_street_names

Drug slang from https://www.noslang.com/drugs/dictionary