MapDrive: Map a statistical operation

Description Usage Arguments Details Value Examples

View source: R/MapDrive.R

Description

MapDrive maps a directory of the microdata repository corresponding to a statistical operation with IOE code SurveyCode into the logical drive DriveLetter.

A password is needed. This password is provided by the methodology unit to the head of unit of the statistical operation.

Usage

1
MapDrive(SurveyCode, DriveLetter = "Z:", PassWord)

Arguments

SurveyCode

Character vector of length 1 with the IOE code of the statistical operation.

DriveLetter

Character vector of length 1 specifying the logical drive by the common syntax [A-Z]?:.

PassWord

Character vector of length 1.

Details

The executable MapDrive.exe must be in the working directory, otherwise an error is triggered. This executable is provided by the methodology unit.

Value

It returns either an error if the mapping is impossible or an invisible NULL.

Examples

1
2
3
4
## Not run: 
MapDrive('E30183', 'Z:', 'xxxxxxxx')

## End(Not run)

david-salgado/RepoUtils documentation built on Feb. 22, 2020, 7:58 p.m.