Skip to main content

slugify

Function slugify 

Source
pub fn slugify(s: &str) -> String
Expand description

Lower-kebab a human label for use in a knowledge key ("Type 2 Diabetes" → "type-2-diabetes"). Shared by the knowledge importer, ethnicity tokens, and the record→factor bridge so keys line up.