INFOMAPS Procedure
Example 3: Aggregating a Data Item
The following example
shows the aggregation of data item values using the AGGREGATION= option
in the INSERT DATAITEM statement:
proc infomaps metauser="your-user-ID"
metapass="your-password"
metaserver="your-server-name"
metaport=8561;
new infomap "expression9"
mappath="/Users/myUserID/My Folder";
/* Make the table "Orion Star"."CUSTOMER_DIM" */
/* accessible to the information map. */
insert datasource sasserver="SASMain"
table="Orion Star"."CUSTOMER_DIM";
/* Specify the aggregation function using the AGGREGATION= option. */
insert dataitem
column="CUSTOMER_DIM".Customer_Age
classification=measure
aggregation=avg;
save;
run;
Copyright © SAS Institute Inc. All rights reserved.