Skip to contents

Slugify strings

Usage

slugify(
  x,
  non_alphanum_replace = "-",
  collapse_replace = TRUE,
  tolower = FALSE
)

Arguments

x

strings to slugify

non_alphanum_replace

Replace non-alphanumeric characters

collapse_replace

Collapse consecutive non-alphanumeric character replacements

tolower

Convert to lowercase

Value

slugified strings