dateCheck: Check 'sampleID' date against 'dateSample'

View source: R/checks.R

dateCheckR Documentation

Check sampleID date against dateSample

Description

dateCheck checks whether all the dates in the sampleID column match up with the dates in the dateSample column. If they don't, returns numeric indices of the rows that contain mismatches. This function additionally verifies that df is a data frame and that it has the columns sampleID and dateSample.

Usage

dateCheck(df)

Arguments

df

A data frame to check

Value

ID's of rows that have mismatched dates.


MFEh2o/MFEUtilities documentation built on May 6, 2023, 1:33 p.m.