is.compatibleXLSX: Check compatibility of two xlsx files to create DD (Data...

Description Usage Arguments Details Value Examples

View source: R/is.compatibleXLSX.R

Description

This function checks the validity of the xlsx file used as GUI to create the data dictionary with XML format.

Usage

1
is.compatibleXLSX(oldVersion, newVersion, verbose = FALSE)

Arguments

oldVersion

Character vector of length 1 with the name of the file with the old version of the data dictionary.

newVersion

Character vector of length 1 with the name of the file with the new version of the data dictionary.

verbose

TRUE or FALSE (default) to request verbose mode.

Details

The input xlsx file is a naive user interface to generate a data dictionary in XML format with the specification of each single key-value pair in the dictionary. The function performs a sequence of checks over each sheet of the input xlsx file. These checks are necessary (though not sufficient) for the construction of the XML file with the function RepoXLSToDD.

Value

TRUE or FALSE.

Examples

1
2
3
4
5
6
## Not run: 
ExcelName_old <- 'T:/E30163/E30163.NombresVariables_V1.xlsx'
ExcelName_new <- 'T:/E30163/E30163.NombresVariables_V2.xlsx'
is.compatibleXLSX(ExcelName_old, ExcelName_new)

## End(Not run)

david-salgado/RepoReadWrite documentation built on Oct. 3, 2021, 1:09 p.m.