C_hss_space: Remove extra space(s) from text

View source: R/C_hss_space.R

C_hss_spaceR Documentation

Remove extra space(s) from text

Description

This function is part of the recode pipeline and is necessary for the effective use of the subsequent functions hss_gen_prep and hss_rewrite. The goal of this function is to eliminate spaces at the start of a text string. This function accounts for potential spaces added to Arabic or English text.

Usage

C_hss_space(dat)

Arguments

dat

df that needs recoding

Value

a df without spaces in the beginning of text strings


RenRMT/hsstools documentation built on April 14, 2025, 7:10 p.m.