get_controls: get_controls function

Description Usage Arguments Value References

Description

To generate a list of report controls (report run_date): today, yesterday, last week, last month, last quarter and last year It will adjust the dates by checking with archived data files (in *YYYYMMDD.TXT naming convention). if no data was archived in a date, it will back track until it finds the next data available date.

Usage

1
get_controls(archive = DataArchive)

Arguments

archive

The file path where data files are archived, default to current directory.

Value

A data.frame of report run_dates, control periods, control symbols (GOCFxxxxxx).

References

CtrlPrefix, Filesuffix from sysdata.rda.


victormxr/CTRMPackage documentation built on May 31, 2019, 5:43 a.m.