Description Usage Arguments Value Examples
View source: R/RepoNextFileVerNumber.R
RepoNextFileVerNumber returns the name of the next version of a file in a
directory.
This function takes every file corresponding to the input file sort FileType for the input
periods Periods in the input directory Path and generates for each of them the name
of their next version.
1 | RepoNextFileVerNumber(Periods, Path, FileType, Base, DorP = "D")
|
Periods |
Character vector with time periods included in the file names. |
Path |
Character vector with the path of the search directory. |
FileType |
Character vector with the sort (FF, FD, FG, DD, ...) of the files. |
Base |
Character vector of length 1 with the year ('aaaa') of the base to which data are referred. If it has no sense, "Base" is a empty character vector. |
DorP |
Character vector with the type of version (D or P) of the files. |
It returns a character vector of length equal to the length of Periods with the
next version of each input file name.
1 2 3 4 | ## Not run:
RepoNextFileVerNumber(c('MM012016'), 'C:/Repo/E30183', 'FF', '2015')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.