This function provides a dataframe of parsed out strings from a free text field, input as a vector, specified by the user.

parse(drug_vec)

Arguments

drug_vec

A vector containing the free text to be parsed

Value

A n x 1 vector of class character.

Examples

parse("Lortab and Percocet")
#> [1] "lortab" "percocet"