Create slug strings for SEO
Most blogging platforms turn title phrases into slugs for better SEO. Tools are provided to turn phrases into slugs.
install.packages("slugify", repos = c("https://cinc.rud.is", "https://cloud.r-project.org/")) # or remotes::install_git("https://git.rud.is/hrbrmstr/slugify.git") # or remotes::install_git("https://git.sr.ht/~hrbrmstr/slugify") # or remotes::install_gitlab("hrbrmstr/slugify") # or remotes::install_bitbucket("hrbrmstr/slugify") # or remotes::install_github("hrbrmstr/slugify")
NOTE: To use the ‘remotes’ install options you will need to have the {remotes} package installed.
library(slugify) # current version packageVersion("slugify") ## [1] '0.1.0'
slugify("R is great!") ## [1] "r-is-great"