RepoPeriodRange: Obtain the time periods of a given input file type in a given...

Description Usage Arguments Value Examples

View source: R/RepoPeriodRange.R

Description

RepoPeriodRange returns the time periods of files of a given input file type Type (FF, FD, FG, FL, FT, FI, FP, FA) in an input directory Path up to a last given input time period Last (included). By default, it returns all time periods in the queried directory unless the input parameter Last is specified.

Usage

1
RepoPeriodRange(Path, Type, Last = out[length(out)])

Arguments

Path

Character vector of length 1 specifying the path of the searching directory.

Type

Character vector of length 1 specifying the type of file whose time periods are queried. It can take values FF, FG, FD, FL or FT.

Last

Character vector of length 1 specifying the last time period. By default it is the last of all of them.

Value

Character vector with as many components as time periods present in the input directory up to the last one specified (included).

Examples

1
2
3
4
## Not run: 
RepoPeriodRange(Path = 'T:/E30183', Type = 'FF', Last = 'MM102014')

## End(Not run)

david-salgado/RepoReadWrite documentation built on Oct. 3, 2021, 1:09 p.m.