conv_app_abscess: Parse entries that indicate an abscess

View source: R/conv_app.R

conv_app_abscessR Documentation

Parse entries that indicate an abscess

Description

Parse entries that indicate an abscess

Usage

conv_app_abscess(vec)

Arguments

vec

a character vector to parse

Details

returns TRUE if case-insensitive "^abscess only|^perforation and abscess" is detected in the character vector.

Value

a logical vector

Examples

x <- c("No mention of perforation or abscess", "Perforation and abscess",
"Perforation only", "Abscess only", NA)

cbind(x, nsqipr:::conv_app_abscess(x))


dylanrussellmd/nsqipr documentation built on Oct. 13, 2023, 11:01 a.m.