clean_text: Removes stopwords and common patterns of Chief Complaints

View source: R/clean_text.R

clean_textR Documentation

Removes stopwords and common patterns of Chief Complaints

Description

Converts a dataframe or tibble into a data.table object, removes stop words and patterns identified by a series of regular expressions.

Usage

clean_text(tbl)

Arguments

tbl

the input dataframe

Value

A transformed tibble dataframe with clean CC and CCDD text fields

Examples

## Not run: 
data <- api_data %>%
  clean_text()

## End(Not run)

CDCgov/Rnssp documentation built on May 12, 2024, 1:32 a.m.