Add a new field to a variable record
Allow ontology term markup using multiple ontologies[TO DO]
Supporting data import through batch scripts that process SPSS filesMacaw’s design allows it to support manual and batch-based means of adding variables to the database. To support batch processing:
- Develop a Java program that parses information about a Variable and populate an instance of either macaw.model.RawVariable or macaw.model.DerivedVariable.
- Create an instance of the macaw.persistenceLayer.production.MacawProductionDatabase.
- Within the parsing program, call methods found in macaw.api.MacawCurationAPI. Catch any macaw.system.MacawException objects that are thrown by the API and write the error messages to a log file.
Author: Kevin Garwood
(c)2010 Lifelong Health and Ageing Unit of the Medical Research Council.