col_nms_to_title: Capitalize column names

View source: R/clearning-helpers.R

col_nms_to_titleR Documentation

Capitalize column names

Description

Convert column names in a data frame to title cases.

Usage

col_nms_to_title(df)

Arguments

df

A data frame or tibble.

Value

A data frame or tibble.

Examples


# Capitalize column names
new_df <- col_nms_to_title(df)


YangWu1227/citizenr documentation built on June 18, 2022, 12:17 p.m.