normalize_names: Normalize character names by stripping BOM and NBSP

View source: R/extractor.R

normalize_namesR Documentation

Normalize character names by stripping BOM and NBSP

Description

Removes common problematic Unicode characters from a character vector (Byte Order Mark and non-breaking spaces) and trims leading and trailing whitespace.

Usage

normalize_names(x)

Arguments

x

Character vector (e.g., column names) to normalize.

Value

A character vector with BOM and non-breaking spaces removed and surrounding whitespace trimmed.


bivarhr documentation built on July 7, 2026, 1:06 a.m.