clean_antibiotics: Clean Antibiotics using Fuzzy Matching with AMR Packages's...

View source: R/clean_antibiotics.R

clean_antibioticsR 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)



MIMER documentation built on June 22, 2024, 9:41 a.m.