camel: Set of utility functions used widely in the epiuf package

View source: R/utils.R

camelR Documentation

Set of utility functions used widely in the epiuf package

Description

Transform snake_case into CamelCase

Usage

camel(x)

Arguments

x

: A string containing "snake_case" or a string list or a vector of strings

Details

Camel can be used to transform snake_case notation into a CamelCase notation. You can use it on string, string list or string vector. This could be usefull to transform all columns name into a standard notation

Value

x with any occurrence transformed in to a CamelCase

Examples

test <- "snake_case"
camel(test)

Epiconcept-Paris/STRAP-epiuf documentation built on Aug. 5, 2024, 3:41 a.m.