clean_dataframe: Clean the comment column of uploaded dataset from a user of...

View source: R/tidy_upload.R

clean_dataframeR Documentation

Clean the comment column of uploaded dataset from a user of the dashboard

Description

uploaded data will often have garbage in the comments box such as "NULL", "NA", "N/A", etc. Clean these comments and drop all rows without comment before they go to the pipeline

Usage

clean_dataframe(data, comment_column)

Arguments

data

a dataframe of uploaded patient experience data

comment_column

a string for the name of the column for the comment text

Value

dataframe with cleaned comment_column


CDU-data-science-team/experiencesdashboard documentation built on Nov. 30, 2023, 5:57 a.m.