all_columns_to_snakecase: Make all columns of a data frame snakecase.

View source: R/datalake.R

all_columns_to_snakecaseR Documentation

Make all columns of a data frame snakecase.

Description

This function modifies the input data frame such that the names of every column are in snake case. Internally, it uses the to_snake_case.

Usage

all_columns_to_snakecase(x)

Arguments

x

The input data frame.

Examples

x <- data.frame(notSnakecase = 1:10)
all_columns_to_snakecase(x)

StatisticsNZ/er.helpers documentation built on Oct. 2, 2023, 7:24 a.m.