RepoStatus: Report status of the repository

Description Usage Arguments Value Examples

View source: R/RepoStatus.R

Description

RepoStatus gives information about the Status of the mapped repository.

Usage

1
2
RepoStatus(SurveyCode, DriveLetter = "Z:", Units = "Mb", Extended = FALSE,
  n = 6L)

Arguments

SurveyCode

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

DriveLetter

Character vector of length 1 with the letter of the logical drive (default value Z:).

Units

Character vector length 1 with the information unit measure to use (default value Mb).

Extended

Logical vector of length 1 expresing whether an extended report must be produced or not.

n

Integer vector of length 1 with the number of files (backwards in time sequence) to report about.

Value

It returns a list of data.tables for each type of file in the repository with columns File (name of the file), Reference (time period of reference in the repository notation), Size (in the specified units), Created (date of creation in format dd/mm/yyyy) and Last accessed (date of of last accession in format dd/mm/yyyy). If Extended = TRUE, they also include columns Rows (the number of rows) and Units (with the number of statistical units in each file).

Examples

1
2
3
4
## Not run: 
RepoStatus('E30183', DriveLetter = 'Z:', Units = 'Mb', Extended = FALSE, n = 6L)

## End(Not run)

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