User Tools

Site Tools


howtos:toolcoding:mapex3

This is an old revision of the document!


Dimension mapping

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.1308070775.txt.gz · Last modified: 2011/06/14 16:59 by chris.strashok