clean_date_columns: Reformat date, time, and datetime columns

View source: R/utility.R

clean_date_columnsR Documentation

Reformat date, time, and datetime columns

Description

Reformat date, time, and datetime columns

Usage

clean_date_columns(x)

Arguments

x

tibble/df; dataset with the columns to be formatted

Value

tibble/df; dataset with reformatted columns (if any needed reformatting)

Examples

generation_dataset_unclean <- as.data.frame(
apply(generation_dataset_example, 2, as.character)
) #Create a version of the example generation dataset with character columns
clean_date_columns(generation_dataset_unclean)

ARawles/BMRSr documentation built on Feb. 1, 2023, 12:11 p.m.