cleaning_log_helper_others: Cleaning Log Helper for Other Variables

View source: R/cleaning_log_helper_others.R

cleaning_log_helper_othersR Documentation

Cleaning Log Helper for Other Variables

Description

Helper function for the create cleaning log flags function in healthyr. This will create cleaning log records for each other reported value in the dataset, for all columns ending in "_other".

Usage

cleaning_log_helper_others(df, uuid)

Arguments

df

Inputs the dataframe. Must have columns ending in _other.

uuid

Inputs a character value of the column with UUID, or other household identifier for cleaning purposes.

Value

Returns a REACH style cleaning log with all the 'other' responses that need to be checked.

Examples

## Not run: cleaning_log_helper_others(df = mydata, uuid = "_uuid")

SaeedR1987/healthyr documentation built on July 4, 2023, 11:17 p.m.