RepoFileTorawStQList: Produce an object of class rawStQList from files with...

Description Usage Arguments Value Examples

View source: R/RepoFileTorawStQList.R

Description

RepoFileTorawStQList returns an object of class rawStQList from files with the structure key-value pair.

Usage

1
2
3
RepoFileTorawStQList(SurveyCode, RepoPath, FileType, IniPeriod, FinPeriod,
  Base, Rot = FALSE, includeFI = TRUE, perl = FALSE, sep = "@@",
  encoding = "unknown")

Arguments

SurveyCode

Character vector of length 1 with the code of each survey.

RepoPath

Character vector of length 1 with the path of the repository from which files are to be read.

FileType

Character vector of length 1 with the type of the file to be read (FI, FP, FF, FG or FD).

IniPeriod

Character vector of length 1 with the initial time period to be read (in the repository notation).

FinPeriod

Character vector of length 1 with the final time period to be read (in the repository notation).

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.

Rot

Logical vector of length 1 indicating whether rotated sample files are to be included (default value FALSE).

includeFI

Logical vector of length 1 indicating whether ID variables will be included in the slot of class VNC of the DD object.

perl

Logical vector of length 1 indicating whether Perl is installed in the system or not.

sep

Logical vector of length 1 containing the combination of characters used as separator in the input file (default value @).

encoding

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.

Value

Object of class rawStQList.

Examples

1
2
3
4
## Not run: 
 RepoFileTorawStQList('E30163', 'T:/E30163/', 'FF', 'MM022016', 'MM032016', '', perl = TRUE)

## End(Not run)

david-salgado/RepoReadWrite documentation built on July 19, 2020, 1:42 a.m.