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

InsertEBXCodeList(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.

Value

boolean

Details

Note that the new rows must have the same columns name os the table that will be appended.

Examples

# NOT RUN { cl_new <- data.frame( Identifier = c(999, 888), Acronym = 'TEST_ACRONYM', Folder = 'TESTFOLDER', Name = 'TEST_NAME', Branch = 'Fishery', Instance = 'Fishery') InsertEBXCodeList(data = cl_new, cl_name = 'EBXCodelist', folder = 'Metadata', branch = 'Fishery', instance = 'Fishery') # }