EBXInsert.RdThis function will insert data rows into a code list stored in EBX5.
EBXInsert(branch, instance, folder, folder2 = "", table, data, connection = NA)
| branch | dataset branch |
|---|---|
| instance | dataset instance |
| folder | folder where the table is |
| folder2 | optional second level folder |
| table | ebx5 table name |
| data | a |
| connection | the result of |
boolean
The data columns provided must follow the code-list which is being inserted.
All fiels of a primary key (usually the Identifier), and all mandatory fields must be present.
Using the SOAP-API the column names and tabe table name are not the label visible in EBX, but the name.
Requires that the EBX5 connection was configured using SetupEBXConnection.
Thomas Berger, thomas.berger@fao.org
Luis G. Silva e Silva, luis.silvaesilva@fao.org
if (FALSE) { cl_insert <- data.frame(Identifier = c(999, 888), Name_En=c('Test1','Test2')) EBXInsert(branch='Fishery', instance='Fishery', folder='Metadata', table='Test_table', data=cl_insert) }