UpdateEBXCodeList: Update rows in EBX5 Code List

Description Usage Arguments Details Value Author(s) Examples

Description

This function aimed to update data rows into a code list stored in EBX5 through R.

Usage

1
2
UpdateEBXCodeList(data, cl_name, folder, branch = "Fishery",
  instance = "Fishery")

Arguments

data

a data.frame that will be appended.

cl_name

code list name which the data will be read from. Please, see the code list options by running the function GetEBXCodeLists in the field "Name".

folder

folder name in EBX that the code list is stored. Please, see the code list options by running the function GetEBXCodeLists (character).

branch

branch name.

instance

instance name.

Details

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

Value

boolean

Author(s)

Luis G. Silva e Silva, luis.silvaesilva@fao.org

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
cl_new <- data.frame(
Identifier = c(999, 888),
Acronym = 'TEST_ACRONYM',
Folder = 'TESTFOLDER',
Name = 'TEST_NAME',
Branch = 'Fishery',
Instance = 'Fishery')

UpdateEBXCodeList(data     = cl_new,
                  cl_name  = 'EBXCodelist',
                  folder   = 'Metadata',
                  branch   = 'Fishery',
                  instance = 'Fishery')

## End(Not run)

lgsilvaesilva/faoebx5 documentation built on May 31, 2019, 5:02 a.m.