clean_name: Clean a string from characters unwanted in (mostly) yishuv...

View source: R/clean_name.R

clean_nameR Documentation

Clean a string from characters unwanted in (mostly) yishuv names

Description

Clean a string from characters unwanted in (mostly) yishuv names

Usage

clean_name(name)

Arguments

name

a character vector

Value

a character vector without leading and trailing white space, and with characters that are only letters and digits, excluding the following: ⁠'-()\"⁠

Examples

clean_name("test-123_test*456")
x <- read_cbs_yishuv(system.file("extdata", "bycode2021.xlsx",
 package = "il.cbs.muni"))[[1]][c(153, 342)]
x
clean_name(x)

il.cbs.muni documentation built on Feb. 13, 2026, 1:06 a.m.