replace_tab {medExtractR} | R Documentation |
String Replace Tablet With Tabs
Description
This function standardizes various forms of “tablet” or “capsule” with the string “tabs”.
Usage
replace_tab(phrase)
Arguments
phrase |
Text to search. |
Details
Some entities use a keyword such as tablet, capsule, or pill to identify the entities, e.g. dose amount. This standardizes possible expressions of similar keywords.
Value
Updated phrase.
[Package medExtractR version 0.4.1 Index]