archive_report_date: Archive 'fst' Files of NBS Report Dates Based on Date of...

View source: R/report_date.R

archive_report_dateR Documentation

Archive fst Files of NBS Report Dates Based on Date of Creation

Description

archive_report_date() infers the date reported for NBS IDs using the date of creation for the data files in data_dir. It saves the inferred report dates in archive_dir.

Usage

archive_report_date(
  data_dir = path_create("V:/EPI DATA ANALYTICS TEAM/COVID SANDBOX REDCAP DATA/",
    "Sandbox data pull Final/"),
  archive_dir = path_create("V:/EPI DATA ANALYTICS TEAM/COVID SANDBOX REDCAP DATA/",
    "Report Date Linelist/archive/")
)

Arguments

data_dir

The directory containing the NBS data files to archive

archive_dir

The location of the archive directory

Value

A tibble containing the data files paths, creation (birth) date, and archive file paths for newly created archive data


jesse-smith/coviData documentation built on Jan. 14, 2023, 11:08 a.m.