User Tools

Site Tools


howtos:toolcoding:mapex3

Dimension Mapping - - example supporting tool script code

localinformant appType[] = create (; object=set, delimiter=",", \ 
	allowDuplicate=on, \
	elemNamesFromColNum=1, firstLine=2, \
	lastLine=5, \
	file=$fullFileName)

local appliance[aType,t] = create (; dim=appType, dim=SEQ;time:1996:2001:1;year, \
	dataFormat="odometer", \
	delimiter=",", \
	firstLine=2, firstCol=2, \
	ignoreExtraLines=on, \
	ignoreExtraCols=on, \
	file=$fullFileName)

localinformant waterApp[] = create (; object=set, \ (note what is in this informant instead of showing the code to construct it)
	desc="only appliances that use water", \
	elemName1="dishWasher", \
	elemName2="waterHeater")
howtos/toolcoding/mapex3.txt · Last modified: 2011/06/14 17:45 by chris.strashok