Learn R Programming

whapi (version 0.0.2)

whapi_to_ascii_lower: Convert text to lowercase ASCII (remove accents)

Description

Converts input text to lowercase and strips diacritics (accents) by applying a latin-ascii transliteration. Useful for normalization before matching or slug generation.

Usage

whapi_to_ascii_lower(x)

Value

A character vector in lowercase ASCII without accents.

Arguments

x

Character vector or string. If NULL, an empty string is used.

Examples

Run this code
whapi_to_ascii_lower("Sao Paulo")
#> "sao paulo"

Run the code above in your browser using DataLab