merge_original_and_other_unit_single_pair: Merge original and other units pair

View source: R/DataReformatting.R

merge_original_and_other_unit_single_pairR Documentation

Merge original and other units pair

Description

Many of the RHoMIS variables come from multiple select, with the option to specify "other" by free-text entry. This function allows you to bring the "other" category into the main column, for a single pair of columns.

Usage

merge_original_and_other_unit_single_pair(original_column, other_column)

Arguments

original_column

the original column you would like to change

other_column

the other values that need to be brought into the main column

Details

Rpackage file: DataReformatting.R


l-gorman/rhomis-R-package documentation built on Nov. 8, 2023, 6:46 a.m.