Skip to contents

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

Usage

RemoveEBXCodeList(data, sdmx_codelist_name)

Arguments

data

a data.frame that will be removed. data must specify the unique primary key(s); which identify the rows to be removed.

sdmx_codelist_name

code list name, in SDMX style. Please, see 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

For a delete operation, data must specify all keys of the code-list to uniqely idetify the rows. Using the SOAP-API the column name is not the label visible in EBX, but the field name.

Author

Thomas Berger, thomas.berger@fao.org

Examples

if (FALSE) {
cl_remove <- data.frame(
Identifier = c(999, 888))

RemoveEBXCodeList(data     = cl_remove,
                  sdmx_code_list_name  = 'EBXCodelist')
}