Learn R Programming

doseminer (version 0.1.2)

drug_units: Medication dosage units

Description

A named character vector. Names represent patterns to match dose units and values represent standardised names for those units.

Usage

drug_units

Arguments

Format

An object of class character of length 28.

Details

Use with a function like str_replace_all to standardise a freetext prescription. Used internally in extract_from_prescription.