format_dates: Convert date/time variables to POSIXct

Description Usage Arguments Value

Description

Converts date/time variables to POSIXct and adjusts to US/Central timezone.

Usage

1
format_dates(x, date_col, tz = NULL, date_only = FALSE)

Arguments

x

character vector of date/time data

date_col

character of column names to be converted

tz

optional string with a properly formatted time zone; if given, will override the default time zone assignments for EDW and MBO data

date_only

logical indicating if there is only a date without time

Value

A tibble


bgulbis/edwr documentation built on May 12, 2019, 8:22 p.m.