*!version 1.2.0 5/13/2020
help clean_name

Title

Syntax

clean_name
varlist
, options

Main
case(upper|proper|lower) specify whether the variable should be returned with proper or upper case. By default, lower case variable is returned.

clean_name -- Cleans string variables by removing all uncommun characters.

Syntax

clean_name varlist
, options

Description

clean_name removes blanks, accents, full stops, hyphens, apostrophes and all uncommon characters (eszet, tilde, cedille, space and invisible characters...) from string variables. By default, clean_names returns a cleaned lower case variable. Upper and proper case can be specified in option. clean_name is particularly useful to clean non consistent identifiers (such as first and last name, school name, region name... ), merge using string variables or identify duplicate values.

Examples

clean_name first_name first_name2, case(proper)

Author

Adrien Bouguen, Santa Clara University