Skip to contents

Convert camel case to snake case

Usage

to_snake(name)

Arguments

name

a character vector

Value

same length as name but with snake case

Examples

to_snake("sparseDataRange")
#> [1] "sparse_data_range"