url_title: Create a "safe" url title

Description Usage Arguments Value Author(s) Examples

View source: R/formatting.R

Description

Takes a string, forces characters to lower case, then removes punctuation and switch spaces to - instead of _

Usage

1

Arguments

st

A string that needs to be a title in a url

Value

A string with the aforementioned modifications.

Author(s)

James Balamuta

Examples

1
url_title("My Name is Jaime!")

jjb documentation built on Jan. 8, 2020, 5:07 p.m.