normalize_synonym: Normalize chemical names for synonym matching

View source: R/get_chem_id.R View source: R/add_chemtable.R

normalize_synonymR Documentation

Normalize chemical names for synonym matching

Description

Converts chemical names to a normalized form (lowercase, spaces and hyphens removed) for flexible matching across different name formats.

Usage

normalize_synonym(text)

Arguments

text

Character string to normalize

Value

Normalized character string (lowercase, no spaces/hyphens), or NA_character_ if input is NA or empty.


httk documentation built on Nov. 26, 2026, 9:08 a.m.