Learn R Programming

highcharter (version 0.3.0)

str_to_id: String to 'id' format

Description

Turn a string to id format used in treemaps.

Usage

str_to_id(x)

Arguments

x
A vector string.

Examples

Run this code

str_to_id(" A string _ with sd / sdg    Underscores \   ")

Run the code above in your browser using DataLab