date_standard_cols: Add helpful date columns.

Description Usage Arguments Value

View source: R/dates.R

Description

Add helpful date columns.

Usage

1
date_standard_cols(.df, .date_col)

Arguments

.df

a data frame.

.date_col

the name of the date column unqouted.

Value

an updated version of the data frame supplied to .df with four additional date related columns: 1) datetime, 2) date, 3) year, and 4) month.


BWAM/stayCALM documentation built on May 21, 2020, 3:24 p.m.