Description Usage Arguments Value See Also Examples
ReadRepoFile
returns an StQ
(default) or a
rawStQ
object with the content of the file corresponding to the
input name.
1 2 3 4 5 6 7 8 9 | ReadRepoFile(
FileName,
DD,
out = "StQ",
perl = FALSE,
sep = "@@",
encoding = "unknown",
verbose = TRUE
)
|
FileName |
Character vector of length 1 with the name of the file to read. The file will be read from the working directory (see getwd) unless the full path is specified. |
DD |
Object of class |
out |
Character vector of length 1 indicating whether to output an |
perl |
Logical vector of length 1 indicating whether Perl is installed in the system or not. |
sep |
Character vector of length 1 containing the combination of characters used as separator in the input file (default value @). |
encoding |
Character vector of length 1 with default value is "unknown". Other possible options are "UTF-8" and "Latin-1". Note: it is not used to re-encode the input, rather enables handling of encoded strings in their native encoding. |
verbose |
Logical vector of length 1 indicating whether report timings are shown or not. |
Return an object of class StQ
or class rawStQ
with all data
from the input file.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
#We assume that the key-value ASCII file \code{E30183.FF_V1.MM032014.D_1} is in the administrator
desktop (change accordingly otherwise):
ExcelName <- 'T:/E30163/E30163.NombresVariables_V1.xlsx'
DD <- RepoXLSToDD(ExcelName)
RepoName <- 'T:/E30163/E30163.FF_V1.MM032014.D_1'
Example.StQ <- ReadRepoFile(RepoName, DD, perl = TRUE)
str(Example.StQ)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.