toSnakeCase: Convert a character vector to snake case

View source: R/utilities.R

toSnakeCaseR Documentation

Convert a character vector to snake case

Description

Convert a character vector to snake case

Usage

toSnakeCase(x)

Arguments

x

Character vector to convert

Value

A snake_case vector

Examples

toSnakeCase("myVariable")

toSnakeCase(c("cohort1", "Cohort22b"))


omopgenerics documentation built on Sept. 30, 2024, 9:16 a.m.