clean_antibiotics {MIMER}R Documentation

Clean Antibiotics using Fuzzy Matching with AMR Packages's Antibiotics Data.

Description

This utility helps to identify and clean-up antibiotics names passed to it. Also helps to identify whether a medicine is antibiotic or not

Usage

clean_antibiotics(x , ...)

Arguments

x

character vector or a dataframe containing medicine details

...

column name with drug details (required only if first parameter is a dataframe)

Value

Character Vector or Data Frame

Examples


clean_antibiotics(c("Amoxicilin","Amoxicillin","Paracetamol"))


df <- data.frame(medicine = c("Amoxicilin","Amoxicillin","Paracetamol"))
clean_antibiotics(df,drug_col=medicine)



[Package MIMER version 1.0.3 Index]