This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
howtos:reading_data_into_arrays [2011/05/17 14:59] marcus.williams |
howtos:reading_data_into_arrays [2011/05/17 15:02] marcus.williams |
||
---|---|---|---|
Line 1: | Line 1: | ||
Make distinction between //data informant// and //target informant// - refer to overview article. | Make distinction between //data informant// and //target informant// - refer to overview article. | ||
+ | |||
+ | There's amost always a mapping required; whether it's done in a TOOL script, a view or in the model. | ||
===== Case 1 - Data informant used in model diagram ===== | ===== Case 1 - Data informant used in model diagram ===== | ||
Line 9: | Line 11: | ||
+ | ===== Case 2 - Data informant mapped to target informant in script/view ===== | ||
+ | |||
+ | Write and run script with this format: | ||
+ | <file> | ||
+ | Get informants from file | ||
+ | Export informants | ||
+ | </file> | ||
+ | Inspect informants, and create mappings. Grow script to: | ||
+ | <file> | ||
+ | Get informants from file | ||
+ | !Export informants (now optional) | ||
+ | Define mappings (from parameters or from external file) | ||
+ | Create/import data with data informants | ||
+ | Apply mappings | ||
+ | Export data | ||
+ | </file> | ||