detect_drug: Detect specific string in free text entries where structured...

View source: R/check_drugs.R

detect_drugR Documentation

Detect specific string in free text entries where structured entry is missing (TIMCI-specific function)

Description

Detect specific string in free text entries where structured entry is missing (TIMCI-specific function)

Usage

detect_drug(df, col_val, col_text, vec)

Arguments

df

dataframe

col_val

column name

col_text

column name

vec

vector of text to test

Value

This function returns a dataframe containing only participants with no information in column 'col'


Thaliehln/timci documentation built on April 8, 2024, 3:38 p.m.