checkDates: Checks the dates of a date_char column in a data.table

View source: R/gridSpyData.R

checkDatesR Documentation

Checks the dates of a date_char column in a data.table

Description

checkDates takes a data.table and splits the 'date_char' column on either '/' or '-' (tries each).

Usage

checkDates(dt)

Arguments

dt

the data.table

Details

Expects 'date_char' to have the format x-x-x or x/x/x

Puts the results into 3 new columns () and returns the dt.

Author(s)

Ben Anderson, b.anderson@soton.ac.uk


CfSOtago/GREENGridData documentation built on June 10, 2022, 8:03 p.m.