check_extract_date: Check whether the date recorded for the extract matches the...

Description Usage Arguments Value Examples

View source: R/check_extract_date.R

Description

Check whether the date recorded for the extract matches the file name.

Usage

1
check_extract_date(filename, trial, date_provided)

Arguments

filename

The name of the extract file

trial

The name of the trial

date_provided

The recorded date of the extract

Value

Whether the name of the file and the extract date match

Examples

1
2
check_extract_date( "NAXIVA20200304.csv", "NAXIVA", lubridate::ymd("2020-03-04") )
check_extract_date( "NAXIVA20200304.csv", "NAXIVA", lubridate::ymd("2022-03-04")  )

LisaHopcroft/CTutils documentation built on Oct. 7, 2021, 11:08 p.m.