multiwords | R Documentation |
Lookup table for converting
data(multiwords)
A data frame with observations on the following 4 variables.
words
character; regular expression to match dosage text in a standardised format (one space between words, no capitals)
replacement
character; replacement text
comments
character; comments
order
numeric; order in which the rules are applied
The rules are applied in order, and each subsequent rule acts on text which has been modified by previous rules.
Shah AD, Martinez C. An algorithm to derive a numerical daily dose from unstructured text dosage instructions. Pharmacoepidemiol Drug Saf 2006; 15(3): 161-166. doi: 10.1002/pds.1151 http://onlinelibrary.wiley.com/doi/10.1002/pds.1151/
data("multiwords")
# Convert to multiwords dictionary for analysis
multiwords <- as.drugdose_multiwords(multiwords)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.