ps_separate_date: Separate Date

Description Usage Arguments Examples

Description

Separates Date into Year, Month and Day.

Usage

1
2
ps_separate_date(data, col = "Date", into = c("Year", "Month", "Day"),
  remove = TRUE)

Arguments

data

A data frame.

col

A column name or position.

into

A character vector of length 3 specifying the names for the year, month and day components.

remove

A flag specifying whether to remove the original column.

Examples

1
2

poissonconsulting/poisix documentation built on May 23, 2019, 4:25 p.m.