dates_as_numeric: Function to convert all date variables in a data frame to...

View source: R/dates_as_numeric.R

dates_as_numericR Documentation

Function to convert all date variables in a data frame to their numeric representation.

Description

Function to convert all date variables in a data frame to their numeric representation.

Usage

dates_as_numeric(df, include_times = TRUE)

Arguments

df

Data frame or tibble.

include_times

Should times (hms) also be converted?

Value

Data frame or tibble.

Author(s)

Stuart K. Grange


skgrange/threadr documentation built on April 15, 2024, 9:35 p.m.