populateDateColumns: Populate Date Columns

View source: R/populateDateColumns.r

populateDateColumnsR Documentation

Populate Date Columns

Description

Creates various date columns for WRTDS study.

Usage

populateDateColumns(rawData)

Arguments

rawData

vector with dateTime

Value

DateFrame dataframe

Examples

dateTime <- c('1984-02-28 13:56',
              '1984-03-01 00:00',
              '1986-03-01 00:00',
              '1986-10-15 00:00')
              
expandedDateDF <- populateDateColumns(dateTime)
expandedDateDF

dateTime <- c('1984-02-28', 
              '1984-03-01',
              '1986-03-01',
              '1986-10-15')
expandedDateDF <- populateDateColumns(dateTime)
expandedDateDF

EGRET documentation built on April 18, 2023, 5:09 p.m.