Skip to contents

This function updates data rows of a code list stored in EBX5. Requires that the EBX5 connection was configured using SetupEBXConnection.

Usage

UpdateEBXCodeList(data, sdmx_codelist_name)

Arguments

data

a data.frame containing all columns to be be updated

sdmx_codelist_name

code list name, in SDMX style. Available code lists are shown by function GetEBXCodeLists in the field "Acronym". The actual codelist location in EBX5 (branch, instance, code-list-name) are resolved using the metadata structure.

Value

boolean

Details

Note that the udpated rows must have the same columns name os the table that will be updated.

Author

Thomas Berger, thomas.berger@fao.org

Examples

if (FALSE) {
cl_new <- data.frame(
Identifier = c(999, 888),
Acronym = 'TEST_ACRONYM',
Folder = 'TESTFOLDER',
Name = 'TEST_NAME',
Branch = 'Fishery',
Instance = 'Fishery')

UpdateEBXCodeList(data     = cl_new,
                  sdmx_codelist_name  = 'EBXCodelist')
}