Project History

Future Enhancements

Add a new field to a variable record

Allow ontology term markup using multiple ontologies


Supporting data import through batch scripts that process SPSS files

Macaw’s design allows it to support manual and batch-based means of adding variables to the database. To support batch processing:
  1. Develop a Java program that parses information about a Variable and populate an instance of either macaw.model.RawVariable or macaw.model.DerivedVariable.
  2. Create an instance of the macaw.persistenceLayer.production.MacawProductionDatabase.
  3. 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.